2007 Ford Explorer - CEL for a year

Car has had check engine light on for over a year. Yesterday while crossing an interesction, it shut down completely. No power, nothing. Coasted to stop, took out key, counted to 10 and it started right up. Dealer is trying to track down problem, but spending too many hours @ high hourly cost. HELP !!!

Until we know why the check engine light was on, nobody is going to be able to help.