Subaru Accelerating problem

I have a 2003 Subaru Forester 2.5 xl manual. Recently, past 3 or 4 months, my car has been spiradically acting up. I’ve noticed when it’s hot and I’m in stop and go rush hour traffic the car’s rpm accelorate own their own. I will be switching from the gas to the clutch and the rpms will go from about 1500 to 3000-3500 with the clutch completely engaged and the brake on. When I put it in gear and step on the gas the RPMs will go down and then accelorate or than normal. Once I pick up speed and get out of stop and go traffic, the car corrects itself. This has happened probably 8 or more times in the past few months and I’ve taken it to a subaru specialist but they can’t duplicate the problem and suggested that I had a bad alternator which I had checked and it’s fine. Do you have any suggestions? I would really like to avoid having an accident. - Adrienne Stimson stimsona@gmail.com or 720-219-2251

Did the Subaru specialist at least inspect the throttle linkage and clean the throttle body?

They did not even mention the throttle. But my boy friend has mentioned it as something that could be checked.

I would suspect the throttle position sensor first. It may have some dirty contacts. The MAF sensor is another thing to check if the TPS sensor isn’t the trouble. I suppose there could be a faulty fuel injector also but I rather doubt that or perhaps the fuel pressure regulator is acting up.