rough idle and engine stalls on 2001 Ford Explorer Sport Trac

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
car has been idling rough at starts and stops but now it starts then dies. will crank but idels rough.
(2) Answers
check your pcv tube for vacuum leaks.
I have a 2004 explorer sport track my unit was running rough and would not start after replacing a few parts Iwas under under crank pulley and noticed the pully didn't look right the pully seperated and th belt was sitting on the broken part of the crank. I replaced the crankshaft position sensor also as the old one was destroyed. also auto zone shows some good diagrams for repair work.hope this helps