AEM troubles
It almost sounds like a flaky connection somewhere, but you'd think it would show itself more consistently than that. The fact that it usually starts right back up is the weird part. Have you tried again after it has been sitting for some time? I suppose there could be some electrical component that just doesn't deal with heat anymore and is breaking down internally. I've had two motorcycles with ignition issues that would manage to keep running if it failed while driving, but as soon as the bike died you couldn't get it restarted because it killed two cylinders. I'd ice down the suspect component with a spare can of freon (maybe not the best plan, but it was what I had on hand), and it would light back off. Trying to think if there are any other tests that come to mind. I guess if possible you could try icing down the computer if your harness is long enough to get it out from under the dash to see if it's something failing when it gets hot.