If your primary concern is lead time, repair is almost always quicker than buying a new unit—and this is especially true given the current supply chain crisis.
However, replacing the damaged unit with a reconditioned one can sometimes be just as fast or faster than repairing or replacing with a brand new unit. If an available reconditioned unit matches the dimensions of the unit in need of repair, you can sell the failing one and replace it with the reconditioned one.
Maddox has thousands of reconditioned, ready-to-ship transformers in stock for most common voltage configurations. These are typically available with a warranty comparable or identical to the warranties of newly manufactured units.