The TV show you’re probably thinking of is Burn Notice. It follows Michael Westen, a CIA operative who gets “burned,” meaning he’s blacklisted and cut off by the agency.

Why it fits

  • The main character is a former CIA agent.
  • He’s blacklisted and forced to figure out who burned him.
  • The show is set mostly in Miami and mixes spy action with a crime-of-the-week format.

Another possibility

  • The Blacklist is a different show, but it’s about criminals and intelligence work rather than a blacklisted CIA agent.

TL;DR: Most likely Burn Notice.