I've seen it before where a homeowner was going to replace a perfectly good frig because it wasn't able to keep cool. The problem was the exchanger coils were coated in tons of dust. Use this checklist to keep your frig alive.
-Clean heat exchanger coils
-Clean door gasket
-Clean all external and internal surfaces
-Replace water filter (if applicable)