The TPS sensor is on the throttle shaft on the left throttle body. It has 3 wires on the connector. Unplug the connector from the TPS Sensor. Using an ohm meter, check the resistance between the contacts. The total resistance should be around 12KOhms between the top and bottom pins. The center pin is the wiper on the TPS and it should increase smoothly in value between the bottom pin and decrease between the top pin as you open the throttle. If there is a"skip" or open resistance at any point, then the component is probably worn.
Plug your TPS sensor back in and put the VOM meter on Volts. Probe the connector pins at the bottom and middle pins with the ignition on. The proper voltage should be 0.525 Volts at idle and around 5 Volts at full open throttle.
Corvette Fever Magazine has a good step by step article on how to tune the '82 on their website.
As you may have a fuel pump problem, rather than a TPS problem, it is a little harder to pinpoint. The fuel pump is an electric pump located in the gas tank under the filler cap. When warmed up, the pump will run continuously as your RPMS are up, but at idle it will turn on and off depending on the fuel usage rate, cycling to maintain a constant pressure in the system. Old pumps will usually run fine as long as they are constantly running, but have trouble restarting as they cycle on and off, especially when warm. When you turn on the ignition, you will hear a sound from the back of the car. It's kind of a BZZZZ,Click, which is your fuel pump turning on, coming up to pressure,and turning off until the fuel is used and it needs to turn on again.
Just a few ideas to help you diagnose things as I have had both problems with my '82.
New fuel pump is around $110.00. My towing charge was $265.00. I would change it before it fails completely.
The tow truck driver says 60% of his business is fuel pump failures.