Ford Explorer 2000

I had a new fuel pump installed within the last year. Then I had the transmission rebuilt. Now my car died suddenly while driving as if it was not getting fuel.( a car pulled out in front of me & I pulled my foot off the gas quickly, then coasted until I need more power and when I put my foot back on the gas it died)

What’s up?