Your brief description is that of a vacuum leak somewhere. IC tubes and any other vacuum lines are prime culprits for that. A failing cam sensor typically will cause a rough idle, but it will be accompanied with no tach reading. The car will still run, just not good at all.