A major stretch of road in Leeds is set to close for three weeks.