A legendary steam locomotive with a "remarkable history" is coming to the Nene Valley Railway in Peterborough this winter.