When I start my Dodge Ram 1500 in the morning, the RPM goes up and down for about 4 times from 1000 to 2000 and it sounds like the truck is gonna shut off. It also has a check engine light on. Just bought the truck. What might be the cause of this? Thanks.