If the problem is intermittent there could be something drifting about in the tank.I had a friend with such a problem some years back. It turned out to be a leaf that
one of his kids dropped into the tank. It would drift about until it came near the fuel
line and would be sucked to the outlet stopping fuel flow. The engine would die,thefuel
pump would stop, and the leaf being freed from suction would drift on and the engine
would then start. The problem would repeat at random intervals.