I have a 2005 Volkswagen Jetta 2.5 with code p0332 for the knock sensor I replace both knock sensors and for some reason the code has been coming back I need help
for some reason the code has been coming back
Perhaps the reason is either you are using aftermarket sensors that don't work properly, or you did not troubleshoot the other potential causes for that code. (Codes don't tell you what part to replace, they tell you a condition exists that may have several different causes.)
https://www.carparts.com/blog/p0332-code-knock-sensor-2-circuit-low-input-bank-2/
https://www.obd-codes.com/p0332
There are also issues such as low system voltage that can play havoc with sensors and computer modules.
I changed the knock sensors both of them so you're telling me the next solution is my PCM might be the problem
No, there is more diagnosis to be done.