Preet Bharara, the former United States attorney in Manhattan, has been far from silent since being ousted from his job in March. He is writing a book, regularly muses on politics and legal matters to his 438,000 followers on Twitter, and just started a podcast. (First episode: “That Time President Trump Fired Me.”)

Now the media-savvy former federal prosecutor is leaping into a new realm: cable news.

CNN has signed Mr. Bharara as a senior legal analyst, meaning he will be a frequent presence on the network’s programming, the network said on Wednesday.

The arrangement allows Mr. Bharara — already a fixture in political and media circles in New York — to expand his audience into millions of living rooms. And CNN will offer a national forum for Mr. Bharara’s at-times blistering critiques of the Trump administration on a network that — the president’s criticism of it notwithstanding — is regarded as less partisan than cable competitors like Fox News and MSNBC.

Rumors that Mr. Bharara may be considering a political career have also persisted, and his decision to take a role at CNN is likely to reignite speculation about his plans.