If you get this code, the first thing to check is your distributor especially if you have an imported vehicle. Look for signs of oil in the distributor which can contaminate the signals being monitored by the ecm (engine computer).Check also the wiring leading to the distributor and see if the wires are properly insulated away from hot exhaust which could burn the wires. Do these checks also on the crank sensor itself whether it is located in the front of the engine or at the flywheel at the rear of the engine. Ditto for the cam sensor
P1336 = Crankshaft Position Or Camshaft Position Input Signal To Powertrain Control Module Concerns
if not properly align and synchronize with the crank sensor. On some applications (like Ford), an alignment tool is required which is can be bought from your local parts store (cost about $31). If you install the distributor without proper timing, it will still run but the mileage will suffer and the above code showing up.
P1336 obd2 code must be checked at the crank sensor circuit and see if it is synchronized with the cam sensor
Did you try to reprogram your computer by 15 min disconnect and reconnect