Diagnostic Trouble Code's. Only sensors cause codes, so i think it's a mechanical problem.
I had a problem years ago, the engine stalls only in sharp left corners, not ever but sometimes.
Very dangerous if you stay on a crossing with died engine, but it starts again as nothing happens.
The Ford shop changed the EGR valve and the differental pressure feedback electronic sensor, no more problems
anymore.
And there where no trouble codes while this happens. If an engine stalls something must be wrong with the fuel/air ratio
i believe.