My kid has a 95 G20 Infiniti that's been a great car.A while back he lost the upper hose and overheated it.New head gasket and resurface was in order.I've got it all back together was very careful on cam timing and am sure it's right on.It got hot enough that it melted the knock sensor "but dad I shut it right off"

So I replaced it with with a Ebay special when it went back together.I've cleaned & tested the T.B. & IACV ,MAF,checked and calibrated TPS,checked and cleaned EGR & reground MAF.Set timing per FSM @ 17*.The thing starts and runs great ...till you drive it for 10 min.or so then it starts idling low and wants to die if you don't give it throttle.When I try to set idle screw it makes no change.So I recheck timing and the ecu has retarded back to almost 0* So I reset back to timing mode and retime as per FSM specs & it runs great again ...for 10 min. Or so,then it retards timing and won't idle.I'm thinking that the cheap ass K.S. Is junk but I'm wondering if there is anything else that can cause the ECU to back timing off? Any Ideers?. Thanks. P.S. No codes.