So, there's a bit of a problem for me, personally.
I've been in a professional role that is at odds with (modern) church teachings: defending death sentences. That is, once the inmate is sentenced to death, there are certain appeals. On behalf of the state, I did my best to make sure those death sentences remained, using every legal argument I could find. I was pretty effective, too (if I do say so myself).
About 3 times, I was "on call" for an execution in case there were any last minute filings.
There were some ... polite, but terse conversations with the defense counsel who several times were also Catholic. And intensely anti-death penalty. Worse, were the conversations with certain family members whom I love, who were disappointed in my role.
I can assure you, I undertook the role only with prayerful discernment before and during that entire time. Also, with the recognition that I will be judged at some point for all of my actions, those included.
I bring that up as context to say that I'm very reluctant to call for excommunication of people who participate in political roles. Is it justified, for people like Cuomo? IMHO yeah. And probably others.
And while I believe there are lines that delineate parts of that spectrum of activities, I'm not sure where they are. And I don't think very many people on this earth really do, either.
See...I can say, that, say, an appellate judge, may have to rule against personal conscience in order to follow the rule of law, but may advocate for a more just law. However, a legislator, who's job IS to write the law, has much less wiggle room. That is where I don't like when the RCC, who believe that taking the sacraments are ESSENTIAL to salvation still looking over these more egregious offenders. Your constituents elected you to decide the law because, at a base level, they trust your judgement. If your (or Pelosi's or Cuomo's) constituents no longer feel they are good representatives, then they can get kicked out of office. If you aren't willing to sacrifice your seat for what is right, then you have a lapsed moral judgement or you don't believe the teaching of the church. Both of which, IMHO, would be excommunicatable offences.