Check the coil wire at the ignition. Sometimes the wire gets loose and will run and then suddenly turn off, then the wire moves very slightly and it runs again. It may not be that, but it doesn't cost to check it.