Former Manchester United defender Brandon Williams has revealed he considered quitting football but is now keen to return.