I've ran into something similar working on an SS at a dealership. I found the electrical circuits going to the MAF sensor chafed on the coolant pipe right under the air duct. Also try checking your knock sensor circuits. They might be contacting your exhaust headers and making and breaking contact with the heat. I hope this hepls.