Mechanical or wiring problem?
My grand marquis has done this several times this month. I start the car and it starts fine,
engine running, I drop it into gear and engine shuts off and brake and check engine light
come on. This repeats several times . I had it towed once and when we got to shop car
worked fine- showed no problem. Another time I let it sit for 2hours and everything was
fine.