The 5-5 codes appear to be idle control so at a guess the IAC has malfunctioned or is not working. Remove it from the intake manifold and give it a good blast out with throttle body cleaner. Make sure the O ring/seal is intact as it'll cause a vacuum leak if it's damaged or missing. If you get weird intake noises like a 'whooshing' sound it would indicate the IAC is bypassing.

Eliminating faults - don't think it's the TPS or you'd have problems from the get go, hot or cold. Likewise with the MAS.

Possible fault - engine temperature sensor fail. Easier to spot on an auto as it relies on this sensor to trigger transmission OD when the engine is up to operating temps.