Car shuts off when hot, air bubbles in fuel filter

The car would idle for about 20-30 minutes then shut off when it's hot. Sometimes the fuel filter is full other times it's half full or bubbling. I bought a new fuel pump and fuel filter. I bought a new gas tank. New holley carburetor. I put the hose off the fuel pump into a gas can and it was doing the same thing. I thought it could of been vapor lock. I then tighten all hose clamp connections. It's a 360 engine in a 67 Dodge Dart. Please help thank you!