The train doesn't go down into the canyon. It takes you to the Grand Canyon Village on the South Rim.
https://www.thetrain.com/
Perhaps a better train tour is the Verde Canyon Railway which is a four-hour train tour leaving from Clarkdale, AZ, near Sedona.
https://verdecanyonrr.com/