Sometimes when electronic parts start to fail, they'll work when they're cold but fail when they get hot. Especially coils. Next time it quits, use freezy spray or compressed air to cool off the ignition parts and coils and see if it comes back to life. You can also do the reverse; get it...