First off code P0122 is not for the TPS it is for the Accelerator Postion Pedal sensor. What is the problem with the truck???
Customer Concern: The vehicle will not accelerate, intermittently. Trouble codes P0122.
Tests/Procedures: 1. When the problem is present, monitor the Accelerator Pedal Position Sensor (APPS) and the Idle Validation Switch (IVS) on the scanner. Closed throttle the APPS should read somewhere around 0.5v. The IVS should read OFF.
2. Slowly open the throttle while monitoring both readings. The IVS should switch to ON somewhere between 0.5v-1.6v on the AP reading. If it does not and continues to read OFF, go to the 2-wire connector at the IVS on the accelerator pedal.
3. Using a voltmeter, check the Red/Yellow (RD/YE) wire in to the IVS for constant battery voltage with the key on. Then monitor the Red/Light Green (RD/LG) wire to see if it goes from 0v to battery voltage when the AP reading reaches between 0.5v-1.6v.
4. If the wire does not go to battery voltage as it should but the voltage in on the RD/YE is constant, replace the accelerator pedal.
5. If the IVS is working as it should, but the APPS sensor is not sweeping as it should, verify there is 5v on the Brown/White (BR/WH) wire at the sensor and that the Yellow/White (YE/WH) wire is a good ground. If the power and ground are OK, monitor the voltage on the Gray/White (GY/WH) wire. If the voltage on the GY/WH wire is not sweeping as it should when applying and releasing the throttle pedal, suspect a faulty APPS sensor (part of the throttle pedal). Tech Tips: If the APPS and IVS do not agree, the PCM will not allow any increase in the engine RPM.
There is a company that independent auto repair shops get their information from, this same information is available inexpensively for people that work on their own cars.. The information is year make and model specific, covering repair procedures, torque specifications, fluid capacities and specifications, service bulletins, component locations, wiring diagrams ect.... Alldata is very easy to navigate http://bit.ly/AllData_Repair_Manuals_Online