I would check the harness from the plug to the ecu. I would imagine you will find some harness damage where it's been rubbing on a head bolt.