If you have a diesel engine, which you do, it will have a fuel pump.
This is false this tractor is a older year with no pumpIf you have a diesel engine, which you do, it will have a fuel pump.
View attachment 790188
I will check this thanks for the ideasAt a guess, since it's an intermittent problem you might look at the fuel in the tank. I don't know if there is a strainer but those can get debris on them and plug up. When the engine shuts down the debris falls off until it gets sucked across the strainer again. We had that happen on a IH and it drove us nuts until we finally disconnected the fuel line and pulled the strainer.
Another possibility is a small pin hole in a fuel line that lets air get sucked in when the vacuum is high enough. Then of course, there is at least one pump- the injector pump and most likely a lift pump to supply the injector pump. I'd start at the tank and make sure everything is good at each step. My 790 has the tank on top and I'd probably empty it, take it off and make absolutely sure there was no debris in it. Then clean the strainger, disconnect the lines to the filter and blow compressed air through them. I might plug that line and pull a vacuum to see if it held. If not, there's a pinhole in the line. Follow a similar process from the tank to the injector pump to make sure it's all good to that pump. If that doesn't fix the issue you could have an injector pump issue at which point some specialized tools are required just to test it. Probably would mean a visit to the dealer. I doubt it's the injector pump and I think you can find the problem.