When the ac is running the idle should be raised to compensate for the extra load. If the idle isn't rising then the car will cut off.
Check the alternator.
MAF
I am having the same problem with a 1998 Nissan Altima. The engine runs fine at idle. When you press the gas the car stalls out. I'm down to replacing the gas pump in hopes of fixing this problem.
One reason why your 1994 Nissan Altima could be sputtering at an idle is because of your spark plugs. It could also be caused by the idle sensor.
the idle jet in the carb is blocked and needs to be cleaned out and reset
Fast idle motor is not working. This is allowing the idle to fall below the threshold of what it should be when the A/C is on.
My 1998 Park Avenue stalled. I cleaned the idle air control valve (IAC) and now it is fine.
Because the engine is running. Shut it off or give it gas and it will not idle.
Most likely the ignition module.
because it is not warmed up enough to stay running or you have the idle speed down too low and it not running at the right rpm to get the transmission up to speed
Idle Air Control Valve.
If it stalls at idle or when slowing down, it could be a fuel filter. Or it could be the ignition control module.