switchyard

noun

An area where railroad cars are switched and trains assembled.

noun

Part of a railway with an arrangement of switches (or points) allowing trains to be diverted and reassembled.