It surrrrre would be nice if you could post the codes the dealer got from your PCM, because there's two ways this thread could go.
1.Do they mean ETC( Electronic Throttle Control)?
When the PCM sees any discrepancy whatsoever between the signals of the commanding TP sensors on the accelerator pedal and the commanded signals of the TP on the throttle body, it will go into failure management, shut down the ETC system, set "ETC Failure-Throttle Limit" codes, and display "ETC FAILSAFE" on the message center. This usually doesn't result in the car shutting down, as Mindymark pointed out. The engine will continue to run, but will be locked at idle RPM; there will be no response to the pedal.
If this is what's happening, and the dealership is recieving codes P2106 and/or P2135, there's a TSB for that!!!
Ford Technical Service Bulletin #05-14-04 calls for the replacing of the throttle body TPS with redesigned part, #3L5Z-9B989-AA.
There may be more involved, but why don't we go there first?
2.Do they mean ECT (Engine Coolant Temperature)?
If the PCM detects an extreme overheat condition, it will eventually shut the engine down to protect it as a last resort. Before it gets to that point, LOTS of other things happen:
If the temperature exceeds approximately 121°C (250°F), the PCM disables half the fuel injectors at a time. The PCM will alternate which fuel injectors are disabled every 32 engine cycles. The cylinders that are not being fuel injected act as air pumps to aid in cooling the engine.
The engine runs noticeably rough.
The coolant temperature gauge will read fully hot.
The message center will beep and flash "CHECK ENGINE TEMPERATURE".
After 60 seconds, the message center will begin to flash "STOP ENGINE SAFELY".
If the temperature exceeds approximately 166°C (330°F), the PCM disables all of the fuel injectors until the engine temperature drops below approximately 154°C (310°F).
The vehicle will shut down.
The message center will display "ENGINE FAILSAFE MODE".
The Check Engine warning indicator will illuminate and DTCs are set.
You never mentioned any of that. Should you have? If the engine is overheating, or the PCM falsely thinks it is, that should be fairly easy to diagnose.
I agree with everyone else; try another dealership while the warranty is still valid!