You're on the right track with looking at the camshaft-angle sensor. But rather than the actual sensor itself, the problem is likely to be within the wiring that connects the sensor to the car's ...