The analyst will contribute to NBC News and NBC Sports programming in a new deal that sees him part ways with MSNBC.