Toyota reports that some of its 2006-12 cars and SUVs equipped with 2AZ-FE four cylinder engines may intermittently illuminate the Check Engine light and store trouble code P0335 (Crank Position Sensor "A" Circuit) in the PCM.
One possible cause for the trouble, says the car maker, is excess clearance or wear in the intake camshaft timing gear assembly. Installing an improved, more durable cam gear, part #13050-28021, may shut off the light and prevent further timing issues.
To find out for sure, hook up your scanner, head to the freeze frame data and look at what the coolant temperature and engine speed were at the time the trouble code set. If the coolant wasn't at normal operating temperature or the engine RPM was significantly above idle, this information doesn't apply; continue troubleshooting until the cause of the crank sensor code is revealed. If the coolant temperature and engine speed were both in the ranges indicated above, go ahead and install the updated cam gear with confidence.
Vehicles that are susceptible to the timing issues and can benefit from the timing gear swap are 2006-08 RAV4 trucks, 2007-08 Solara coupes, 2007-09 Camry sedans, 2007-11 Camry Hybrids, 2009-10 Corollas and 2009-12 Matrix models.