Car dies while running!

Cleaning the throttle and idle air control could solve the stalling at idle problem. The noise when shifting into a gear may be an engine mount.