Install a clear return line through the cab where the operator can monitor it. Submersing the return line in a bucket of fuel is a good stationary test. There should be no air bubbles in either case.It could be the pick up line is cracked in the tank or the pick up screen is clogging up. Does it do it when the fuel level drops below a certain point(cracked line)? Is the primer bulb sucked flat when it acts up(clogged pick up)?