03 Malibu starts runs fine drive and get it warmed up wont start no codes ECM has been replaced?

had similar problem and found out the the neutral safety switch when hot would become inoperative and would not give any codes