code 00335 says its the crankshaft sensor need to replace
where is the crankshaft sensor and a diagram of the lacation on 2002 Hyundai Sonata
The sensor is located at the crankshaft sprocket inside the timing cover at the front of the engine behind the crankshaft pulley that drives the fan belt on the 2.4L Hyundia engine which is a big job to replace. I believe it is at the rear of the engine flywheel side on the 2.7L and takes about .5 hour to replace. Check out Hyundai factory website workshop manuals and lots of technical information is free on line.
1 more answer
circuit malfunction a circuit