I just recently purchased this car when I break the car shuts off. on 1992 Ford Explorer

This occurs ramdomly I took it to the mechanic and they cant find anything wrong with it it passed smog just fine and there is no check engine lite on please help?

Asked by for the 1992 Ford Explorer
Only thing I can suggest with this info. is try to reset the inertia switch (fuel cutoff switch). Located inside cab on passenger side against the firewall. Pull back carpet or plastic and you will see the switch. Hold in for 3 to 5 seconds and release and you are done.