There are a few things to check.
The new transformer's maximum output amps need to be the same or higher than the original.
The polarity of the plug needs to be the same. They are typically positive on the inside connection of the plug and negative on the outside connection. Some universal transformers may have a switch that lets you change the polarity at the plug.
There should be markings on the transformer/plug to show what these are.