Maybe a throttle positioning sensor? Is it hard to start? Does it start then stall?
I would suspect fuel pump failure.
fuel regulator possibility
air leak
air leak
vaccum leak
your torque converter has locked up.... it's like having a manual transmission with no clutch.
Numerous things could cause the Nissan Altima to stall. One such thing is the idle control valve, also the exhaust system could cause the engine to stall.
mass air flow sensor
it may be the maf sensor i got a corolla 2001 too do you have any codes ?this is a old question thought.
A very dirty fuel filter could do that.
if you get dirt in a transmission while drive 1000 miles you could ruin it. no question about it...
Mapp sensor or you might need pugs and wires.