This is from yesterday/today.
http://www.supramania.com/forums/showthread.php?t=19097
I dont think the TPS can cause what you described as far as idle rpm's,
Unplug your TPS and see if it idles and drives better. (not likely though) Sounds like a vacuum leak some where possibly? how long does it run after the key is removed?
Read the link above and follow the directions when checking codes, key on/ engine off,,, AC off,,, clutch out,,, no gas pedal.,,Now make sure your linkage is closed with slack in the cables and look for codes. You may need to adjust the TPS.