I'm curious, when you replaced the TPS, did you calibrate it after installing, or just bolt it on? Check out the P0120 section in
the FSM to see how to. It'll also tell you how to check the TPS with a multimeter to see if it's functioning properly before you buy a new one. I don't know that it's the cause, but it comes to mind because I remember what a pain it was to get it just right.
I don't think it's the ECM because normally when the IACV takes it out, the car won't idle at all. The ECM still
could be the problem, but I wouldn't look there first.
Do you smell fuel in the exhaust after it's warmed up? You're supposed to when the engine's cold, but if you're smelling fuel when it's warm, then it could mean a leaking injector, malfunctioning coil packs (which should throw a code), a leaking fuel pressure regulator or damper, or a number of other things which would also cause driveability issues.
Before you do anything else, check to see if you have any vacuum leaks, disconnected hoses, or tears in the intake ducting. Move your head around the engine compartment and listen for hissing and flex the ducting around to see if you can find anything.
Did these problems arrive suddenly, or have they been coming about over time?