Electrical or fuel problem?

i had the same problem it was a faulty coil when it got hot it just cut out.