when you say tps, you are refering to the accelerator pedal correct? Some code readers will call the accelerator pedal sensor a throttle position sensor. The code definition I have for p0122 is accelerator pedal sensor circuit low input.
Possible causes for p0122 are:
Damaged accelerator pedal assembly
AP (accelerator pedal) sensor not installed properly
Faulty AP sensor
Grounded wiring harness
Faulty PCM
Being a mechanic, I do see some bad, new parts so don't rule that out.
First thing to do is make sure you installed it correctly. Second is to check the wire harness plug at the AP for loose or damaged terminals. If all looks good there, you will need a code reader or scanner to read data PID's. A couple of easy things to check are to make sure the brown/white wire at the AP has a 5v ref with ignition on, engine off and the yellow/white wire for a good ground. With the AP wiring connected, and ignition on, engine off, black lead of your volt meter to a good ground, probe the grey/white wire. Watch the volt meter reading as you slowly press the AP. If the voltage changes as the AP position changes, the AP sensor is good. You will need some way to read PCM PID's (realtime data values) to make sure the PCM is getting a good voltage value from the AP.
Hope this helps and you find your problem. If you have any questions, I will answer them the best I can.