IIRC, there are o ring seals on the connector ends of the lift pump that connect to the fuel lines.
If those orings are bad or missing it will allow air to enter the fuel stream
The recommended lift pump is AC/Delco EP158
What are the numbers on the new pump?