Brandon Williams has signed a four-year contract at Manchester United after his outstanding breakthrough season.