Stretched timing chain and worn chain tensioner guide could often lead to misdiagnosing electrical and cam/crankshaft sensors. Check the chains if problem recurs.