I had the same problem several years back and it turned out to be bottom end main seals. What was happening was after the
Engine got hot the seals got soft, it allowed enough pressure to leak out that the Engine quit running. After it cooled some , the seals hardened enough to refire the Engine. I also had several top end rebuilds during that time because the Engine leaned out so much, it seized the piston.
I would do a leak-down test first to be sure. That is a good starting place. Do a compression test and post back. It could be something else, but it sounds like the problem I had. Good luck, Gary