I got this broken Varistor from an Eaton3S 550VA 300W UPS. Marked TVR 20471* I have tried my best to find a replacement but I can't find a similar one. Any tip or recommendation for a similar one that will work for a UPS would be very appreciated.
This is a link to a datasheet for the TVR product line that shows your part on page 16. It is from THINKING ELECTRONIC INDUSTRIAL Co. LTD in Taiwan. The datasheet lists the part characteristics, so you should be able to find an equivalent, if you can't find the actual part. They are available on AliExpress.
Here are some potential subs found using the parametric search on Digikey: