Try this. Unplug your battery for a few hours if you can. Just leave it. This will clear your computor of any stored codes. When you restart you car after a few hours let it run for 10 minutes of idle and then take it for a test drive. This will reprogram your computor to now accept a new electrical part that is monitored by the computor.
Did you by any chance wash your engine with solvent recently? These solvent cleaners are very harmful to sensitive electrical parts. If it gets into the connections they can damage the part quite easily. The TPS is typically mounted on the passenger side of a throttle body/ carbuator.
Good luck. Let us know what happens and we can go from there.
In future posts we need as much detail as possible to help with any problem.
Kenvcr
Thursday, April 20th, 2006 AT 2:22 AM