Sorry that's not nearly enough info.
Year, make, Model, And more details.
If a 1988 Chevy Cheyenne dies when it is put into gear, check the fuel pump. If the fuel pump is not getting adequate fuel, it will cause the car to die.
NO it has nothing to do with the engine dieing. You have other problems.
YOU WILL DIE! have you check your IAC ??
you might have a cam in the car that wll not work with a automatic trans ran in to this myself
Low fuel pressure, stoped up fuel filter.
James Gear died in 1911.
William Gear died in 1997.
Dale Gear died on 1951-09-23.
Could be a vacuum leak. Check the gasket between the throttle body and the intake manifold, you may find it damaged.
Jacob Block died in 1646.
Frank Block died in 1971.
Jack Block died in 2010.