Jeffrey Toobin said Friday that he will depart CNN, where he served most recently as chief legal analyst, putting an end to a 20-year run at the network in which he provided no-holds barred commentary and suffered a setback over a scandal in which he inadvertently exposed himself to co-workers on a video call.