engine stall when press brake on 2003 GMC Yukon XL Denali

Hi , I need some help.
after I change battery RPM is too low and engine is stall when I press brake pedal near traffic lights and roundabout

Asked by for the 2003 GMC Yukon XL Denali
you will need to drive the car for about 50 miles for the computer to re learn the idle.