I have to agree with Danny L, when you hit the brakes it sounds like the sensor at the gas pedal is having a problem and giving a false signal to the computer to open the throttle. Here is the location of the sensor.
Check out the diagrams (below). Please let us know what happens.
Cheers, Ken
Image (Click to make bigger)
Thursday, July 19th, 2018 AT 11:22 AM