We visited this museum with our two grandsons, 5 and 9 years old. For both it proved to be a succes. The history of the Dutch Railways was very interesting for the older one and there were enough other things that kept the younger one happy. You can easily stay there for a whole day.
If you go to Utrecht by train, you can travel directly from Utrecht Central Station to the museum ...by train!