for Time Train by Paul Fleischman and Claire Ewart
From the Publisher
Miss Pym's class is in for a comic adventure beyond their wildest dreams. They've boarded the Rocky Mountain Unlimited, a mysterious train that's winding its way into the heart of prehistoric times. Join the class-and a horrified Miss Pym-as they scramble dinosaur egg for breakfast, go stegosaurus-back riding and pterodactyl gliding, and play soccer with their giant reptilian friends.
Publisher description retrieved from Google Books.