How old the unit is matters less than what's failing
A capacitor or a contactor is a small, cheap part on any age of unit, and swapping it is worth doing almost every time. A compressor or a cracked coil is a different question, because that part is tied to the whole system and costs most of what a new one would.








