I recommend replacing the fuel filter. If the problem persists, then test the fuel pressure. It should be between 40-70 psi with the engine running. After you turn the key off, the fuel system should hold pressure for five minutes, and lose less than 5 psi from the indicated operating pressure.
It is also helpful to scan for any diagnostic codes.