The idle up is set too high - on automatic transmission cars the idle speed is set in D and the AC is set so it doesnt raise rpm beyond normal idle speed.
and to check for sudden stalling when you brake - remove the pipe from the brake booster and plug it.
If the problem goes away, your brake booster is shot too.