First things first... it could be the TPS but I'd be more apt to suspect the mass air flow sensor has died or is at least dirty. I've had the same symptoms in two vehicles and it ended up being a crapped-up MAF sensor wire. You can clean the MAF with some zero residue electronics cleaner. Remove it the hose it down with cleaner. DO NOT, UNDER ANY CIRCUMSTANCE, PUT YOUR BOOGER HOOKS ANYWHERE NEAR THE SENSOR WIRE!! Don't touch it with anything but the cleaner. Allow a few minutes to air dry, reinstall, and fire it up. Disconnect the battery before servicing, of course.
Also, there is a hose that runs from the intake tube down to something. I can't remember what it's for or exactly where it's located, but if it comes loose it can cause the same problems.
Brad