the engine will crank when i spray fuel in the breather hose,die when no spray on 1998 Ford Ranger

Ihad a new fuel pump installed,the truck ran fine for a few days and stopped running again

Asked by for the 1998 Ford Ranger
was the tank flushed of all debris??? common reason for fuel pump failure.