So many weird things can go wrong! Many years ago we had a Ford escort that kept stopping but after a while would start up and go as normal again. We eventually found out there was a loose baffle in the muffler that would stand up and block the exhaust completely but would fall back down again and appear to be normal. We replaced the muffler and all was good again!