A major railway gala is set to delight train enthusiasts with a packed programme of heritage steam and diesel services.