TMCC or Legacy? In either case, you need the actual Lionel part, as they're not a simple wall-wart, they have one side of the secondary wired to the ground of the outlet.
Boxcar Bill in the forum sells the one for the TMCC base, for Legacy I'm guessing you'd have to go to Lionel.