idle and cutting off problem on 1996 Dodge Neon

I am having a problem with the idle on this car. Sometime it will do fine and other times the idle will go up and down until the idle finally gets to low and it cuts off. It also seem like at time the car just loses it power. Before I got the car it had not been crank or drove in 3 years. I have put money into fixing it and other than this problem it seems to be a good car. Can any tell might be going on with my car?

Asked by for the 1996 Dodge Neon