A £10 million project that forced Kent’s busiest railway junction and several stations to shut will come to an end this evening.