4 days ago i was going to go camping and before i left i drove it to drop off our pets at a family members house and my truck just stalled. got it started again but check engine light was on and it was running really rough. i was doing a demo on a Matco scanner so i plugged it in and got a IDM code cant remember exact number but i was able to barely limp the truck home slowly, very slowly, rough idle and rough running like it was only on 4 cyls. when we got back from camping 3 days later i started it up to see if it still missed or had check engine and it ran beautifully. so i took it for a test drive and after i drove it for about 30 mins it came back. limped it home again and same thing the next morning. runs at idle great again and no light. i didnt get a chance to test run it but im guessing ill get same results. my buddy from work told me to look at my valve cover gaskets and maybe the IDM was junk but check gaskets and connections first. any ideas guys please help me i planned on selling it in 2 months after my wedding for a 4 door so i dont want to dump a whole lot into it.