The former world No. 1 and 2003 US Open champion has signed a multiyear deal as an analyst for match and studio coverage.