I have had that happen when I had the pump too close to the exhaust. would take a dump, then after the car was off 20 to 30 min, it would work again.

something inside just can't take the heat and kills some tollerance is all I can figure out.

I replaced it but moved it away from anything hot, and it has been fine since.

could just be a crappy pump, but I would look around and see if something is too close to it.

my problem was I installed the pump before exhaust and the exhaust shop decided to see how close they could route the exhaust to it.
never noticed or looked till the car died.