Director of the National Railway Museum Craig Bentley said: “We are delighted to be able to make this visit from the world’s most famous steam locomotive possible, and to help Severn Valley Railway mark an important moment in its recovery.”
Work was now well under way to repair the “serious embankment collapse”, the SVR said.
The heritage line has previously said more than 2,500 tonnes of material had been excavated and a temporary culvert installed to allow full access for machinery.
There are six stations along the route, as well as the Engine House Visitor Centre at Highley.
The Swingin’ Sixties event will also include live music at Kidderminster and Highley and displays of classic vehicles at Kidderminster, Highley and Bridgnorth.