Engine lopes & Idle

My engine lopes while idling and when ever I stop sometines it shuts off. I am wondering what can cause tis problem.

Bad sensors, vacuum leaks, ignition system problems, bad fuel, clogged injetors, anything really

Thanks for your reply, At first I thought I have a transmission problem, because when ever I accelrate sometimes there is hardly any power,but recently i’ve start to think it may not be a trans. prob. I am thinking of changin the MAP sensor and the throttle postion sensor.