The former United midfielder has signed a two-year deal until 2028 after guiding the club from seventh to a third-place Premier League finish during his five-month interim spell.