Should I buy a used car that needs a new rack and pinion?

No, you should not buy it. The seal is on the verge of blowing out completely, and you’re then facing a very expensive repair on an old beater of a vehicle. And who knows what else is wrong with it.

Keep looking. Never buy a used car with even one known serious problem.