Had a similar problem,would run good for miles then die and not start then later would be fine, start no problem and run till it stopped again. Turned out to be a earth line from the fuel pump to the common earth block connector.