95 buick lesabre brake light

I had him check the brake fluid and all that and its fine. But the problem is when the brake light comes on the engine shuts off. It always starts right back up but if he slams on the brakes the car doesn’t cut out