Im new here and would like to ask a question. I'm hoping it is in the right place here.
I am trying to wire in a new 24v transformer into my airhandler.
Here is a picture of the old 24v transformer which is fried.

The replacement is a :
50VA Transformer
120/208/240VAC/24VAC Out
UET150
Here is a picture of the replacement:

The new transformer is fuse protected as you can see, and has 4 wires coming out of the back, Black, White, Red, and Tan.
This is to power the thermostat for the Air Conditioner, so for now no ac....
If more info is needed please let me know....
Any assistance is greatly appreaciated
Sincerely, dmlf57