92 Ford Taurus Dies when put in gear

My 92 taurus engine runs great but put in drv or rev, motor shuts off. put in neutral and motor stays running. Last time I drove it auto trans wouldnt shift out of 2nd gear.3.0 motor