Q: Car quit and I read Code P0122 (Throttle position sensor). Cleared code and.... on 2003 Pontiac Bonneville

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
replaced old TPS with new TPS. It was fine for about 3 miles then quit again. Pulled same code again. Checked voltage to TPS and all was normal. What would cause new TPS to go out after 3 miles? Defective? Another sensor in series? Please help. Jim
(1) Answer
You need to check the new sensor and see if it is bad. You may have a bad connection at the sensor, a wire with high resistance, bad PCM, etc. Where did you buy the part? Did you check the output of the old sensor or just replace it it because of the code?