Does the motor have a crank sensor. The can sometimes cause an intermittent issue like that. I had a similar issue with a 97 Explorer. It did the same thing a couple of times and then quit altogether. Replaced the crank sensor and she fired right up. And has ran great since.

Just a thought for you to consider.

C