hi, im new here,

well i got a 96 4runner that is just having a hard time starting up only when its cold, but when i finally get it started, it idles low at 500 rpm. when it warms up, i can shut it off and start it back up with no problems. i pulled this codes of it, p0115 which is the ECT sensor, and p0505 which has to do with the air idle control valve. i already cleaned the valve, the tb. but still has a hard time to start. i thought it would be the fuel pump and the fuel filter,(which i already replaced new), but still has the same problem. im thinking of replacing the ECT sensor tomorrow. but help me out please, your help would greatly be appreciated.