P0335 most likely you have to replace the Crankshaft Position Sensor. If you timing belt has not been replaced and with mileage or age it is due already replace them at the same time.
P0727 Engine Speed Input
Check the TCCS relay and connector to the speed sensor on the transmission
33.7k questions
32.5k answers
1.3k comments
23.0k users