Have a Car Question? Ask a Mechanic Online.
The issue is the engine surging. The subsequent vacuum drop is what is effecting the brakes.
That could be many things. It could be a problem with trhe IAC or even programming in the computer. If the car is under warranty, stay on top of them.