my1998 explorer, when i put it in drive my engine shuts off, on 1998 Ford Explorer

but it works in reverse just fine. whats wrong with it?

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
1 answer
could be a bad lock up solenoid.does the engine run alright when in park or neutral