This is scary when this happens. No matter how hard you push the brake, the engine races. I have to shut the key off and start again to stop this. What can possibly cause this?
On occasion, when coming to a stop, with my foot on the brake, the car surges. on 2002 Ford Thunderbird
Have replaced a TON of throttle position sensors for this EXACT issue.the sensor will get a bad spot in it and tell the pcm a higher voltage than what it should.Most of the time it will not set a code,this is an "in spec failure"
1 more answer , 1 more comment
Try and disconnect the vacuum hose to the brake booster, and plug it so no vacuum leaks, then try it. If you try to drive it at this point, your brake pedal will be very hard to push while braking, Use caution, sounds like you shouldn't have to drive it to find your answer. Post results.
This does not happen frequently. May be a week apart or a month, never know when it will happen.