starts fine then quites on 1993 Chevrolet Lumina

we just replaced the fuel pump and filter now the car will start and sounds great try to put in gear dies

Asked by for the 1993 Chevrolet Lumina
Why was the pump replaced? Was the pump replaced for this reason?
the car was running ruff as if it wasn't getting enough fuel and dieing a lot then it got to were it just wouldn't start at all