Union Pacific plans to spend more than $400 million on the project, including a facility to fuel locomotives, a switching yard, buildings for crew changes and a terminal for loading and unloading cargo containers that can be used on ships, trucks and trains.