Marx switches are all O-27 profile and will mate directly with the Lionel O-27 track. Unfortunately, using Marx switches can mean troubles for your Lionel pickups. There is a discussion about snagging Lionel pickups here:
Marx also had O-34 dimensioned track and switches in O-27 profile to make concentric curves with O-27 track. Pretty cool!