I had that happen to me. I had rebuilt my car over a few years and when it was finally on the road that same intermitting problem would occur.
I finally found a small marble size ball of crud in the small filter, in the gas tank pick-up tube.
If you wait until you are around a 1/4 of a tank you can take the sending unit out of the tank and check it out. The small marble would block the pick up tube from getting gas but never consistently. Good Luck!!