Car looses the ability to accelerate while driving HELP!

While driving my 2000 Nissan sentra GXE for at least 20 minutes (happens for some reason only on the highway) the car looses the ability to accelerate. I have to put the car in neutral and restart the car. This is scary and dangerous some how I managed not to get into an accident. I took the car to a local Nissan dealership. They claimed that they took the car out twice around 30 minutes each, and the car did not act up on them. When the dealership hooked the car up to the diagnostics they found a code for the engine over heat. The car never showed any signs of overheating. The dealership told me that the only thing that can think of was to change the thermostat as a precaution.

I drove the car after this repair and long and behold the car lost the ability to accelerate after 20 minutes of driving it on the highway and kept on happening about every 5 minutes.

Please help me with this problem!

Posted by: mashupp

Was fuel filter changed? A dirty fuel filter can cause lack of acceleration and stalling.