Car stalling

My neon started stalling when I would put it in gear, but once it got going it drove fine. the problem got worse car idles fine just dies when i put it in gear.

any ideas ?

Model year?
Odometer mileage?
Maintenance history (in detail)?
Repair history (in detail)?

1995 plymouth neon
140000
the only thing i did to it was had a rebuilt transmision installed
changed the oil thats it
the check engine light came on about 3 weeks ago scan was done had a egr valve error