i have a astra 1998 mk4 1.4 16v
i can be driving the car and every now and then the car judders really bad as though i have hit a brick wall and the engine management light comes on

i have done the paper clip test and i am getting code 0335 which i think is the crankshaft sensor-- would it judder like this if it is faulty

the problem is getting worse
please help