i own a 1990 nissan maxima...i bought the car knowing that it needed a new started bc it was fried...now im haveing problems with the car runing! everytime i let go of the gas the car shuts off? no matter what gear or in neutral, it still shuts off.

if someone can help me out to figure out this problem id greatly appreciate it.
my email is
greengolf_421@hotmail.com
ty