Next time plz ask workshop to check the pressure of the fuel pump.
Or you can visit the workshop who can actually check it. Because most of the workshops don’t know how to check the fuel pressure with dial gauge.
Now if you see the value between 50-60 psi, then your fuel pump is running fine and problem lies somewhere else.
Even you should check this pressure after installing/replacing new fuel pump. If the pressure readings are like 30-40psi then it means the fuel pump is not working perfectly as it should and it will stop working very soon.