HELP! stalling issue

I have a 98 chevy cavalier z24 with 60,000 miles on it. The issue im having has been going on for 6 months or so and recently getting much more frequent. The car starts and runs normally at first but after a short while typically about the time im leaving the driveway or pulling out of a parking lot when i go to give it a little more gas it starts stalling out and has a rough idle for about 5-10 seconds and it will either eventually just kick out of it like and run fine, or it will stall. it always starts back up if it does stall. and runs like normal. once it does it one time i have no more issues with it until it has been off long enough to cool down. when the problem first started happening it through out the code for the tps sensor. i replaced this and the light has never come back on. but the problem has persisted. it seems to happen more in hot humid weather. any ideas would be greatly appreciated.