Hi Tom,
I presume you mean in its own "Window"....
From the first (launch) screen select "Options", then "Display Options" then uncheck the "Full Screen" box. You must also set the Trainz screen size to be smaller than your normal MS Windows Screen Resolution or Trainz will still run full screen.
You will get a performance hit running Trainz in a Window though.
Cheers