Car stalls after Warm

Mechanical fuel pump? loses prime or pressure, but then you can keep it running on the accelerator pump? do you have a fuel pressure gauge on it? I have bought/seen more than 1 bad pump out of the box.
mechanical and yes it’s 2nd new one i thought first one was bad so installed another new one but its same never somthing so simple lol