There's an easy way to test the TPS. I'm sure it's been documented on this forum many times, so you could try the search feature for more info.
Basically you backprobe the middle TPS sensor plug wire with one lead of a multimeter. The other lead goes to any ground. Turn the key on (no need to start the car) and the voltage should be just below 1.0 VDC (people usually strive for 0.96). While the multimeter is still connected, slowly open the throttle (you can obviously use the paddle on the throttle body). The VDC should slowly rise, without interruption, linearly with the throttle. At wide open throttle (WOT) the volts should be around 4.5, definitely not over 5.0.
If you sense any 'dead' spots in the voltage readings, like all of a sudden it drops as you open the throttle, your TPS is bad. Also if it reads over 5.0 at WOT you should replace the TPS.
AutoZone (and other fine automotive parts stores) sell Wells brand sensors, including the TPS, which work just fine for around $20.
Good luck.