Keolis’s current contract to manage, operate, and maintain the rail system expires on June 30, 2027, T officials said.