If it dies only when put in gear it sounds like a torque converter issue.My old 93 dakota did this and when i pulled the trans the pan was full of metal from the converter disenegrating.