It sounds like you possibly have a blob of foreign contamination floating around in the tank and it is blocking the fuel pick up line at random. Old fuel cans are the worst for contamination buildup and possibly bugs getting in them.
Also, from what I can tell in a part diagram on Parts tree there is a vent check valve in the top of the tank for vapor emissions control. The valve may have failed and is creating a fuel cavitation (vacuum) in the tank. Try running until it acts up and then loosen the fuel cap and see if you can hear air sucking in as you loosen the cap.
Another possibility is if this has a special shaped pickup tube that is shaped to fit into the tank contour a certain way, it may be out of position and not picking up fuel when the fuel gets lower.
A couple of weeks ago, I had a John Deere 757 with a special shaped fuel tank tube that fit through the tank line grommet. It had to be "clocked" in the correct direction to work properly.