I has a similar thing where my Rome where all over the place when idle but when I would give it gas it would go away. What and when I got the check engine light it said that it was my throttle body, so what I Ended up doing is checking vacuum lines and it was just disconnected it might just be that one of your lines isndisconnect or broken.