Train N gauge exchange for linking machines