I am not sure about the wiring for the ZW. But in general, using modern command control electronics with old postwar transformers is not a happy idea. The old transformers had very slow protection in the event of a short. Probably too slow to protect your TMCC or Legacy base. A modern Lionel 180W power brick is $80 on the used market. These have fast acting circuit breakers. Older 135 watt bricks can be had for $45.
I know lots of folks are happy with their old ZWs. And as long as you never have derailments with shorts, there is no risk. But otherwise I'd keep a spare command base handy.
Don