this suggests a failing fuel pump or crank sensor
it could possibly be a power supply issue to the engine computer.
I would suggest checking for / monitoring fuel pressure and spark the next time it happens to narrow down further.
Sorry if you were hoping for a different answer, please don't shoot the messenger - I can only give the honest answer, which I have. Please remember that a low rating PUNISHES me for my honest and prompt response, and I receive nothing for my time and answer until a positive rating is clicked.Please let me know if you have further questions. Please do not forget to click a positive rating as this is the only way I receive credit for my answer, thank you. Best wishes with your vehicle.
you said this could be a failing fuel pump, i take it that this is the one that runs along the floor against the chassis leg? you also mentioned checking for spark its a diesel engine, and you dont think that its an injector problem like others have told me its injectors, but then others say its not as when i started it on a tow it ran really good and smooth not a hiccup from the engine.