that can certainly cause an intermitten stalling, floating around and blocking off the fuel outlet of the tank.
BUT......once you run a diesel out of fuel it is normally a pain to bleed and restart.
Did you have that issue? Everytime it stalled did you have to bleed the fuel system? And if so.....that would be be a certain that you had a fuel delivery issue and I wouldnt have though it would have been that hard for a dealer to troubleshoot.
If you never had to bleed to restart......either there is something different about your tractor, or that isnt gonna be the issue IMO