i use to have that problem in my old 99 f250. i use to have to go under the hood and jump out this relay or whatever that was on the drivers side fender with a screwdriver and it would fire right up. finally it took a crap and would not start at all. turned out it was the idle positioning sensor.