Use the Denali Star to get from Anchorage to the park area, then give the park itself another day on your itinerary.
Build the Anchorage-to-Denali train ride into the trip as a day of its own. The rail schedule determines when you reach the park area, so set aside that first afternoon or evening for getting to your lodging. Look up the distance from the depot before arrival.
Plan your park visit separately. Choose what you want to do near the entrance or farther along the park road, and check transport arrangements for your date. Leave enough time between the park visit and your return train.
Places to Visit in Alaska
AK
Visitor Center · Bartlett Cove, Glacier Bay National Park, Alaska