Welcome to the forum, and to the club of happy retirees with time to travel. I am afraid there is going to be some rain on your parade, as you can see, but it is all with the best of intentions, so you can plan a fun and realistic trip with minimal hassle.
First the good news: neither the Glacier Express nor the Bernina Express will be closed during yout time fram. The Bernina Express has a short section that will be closed for a few days in early April, and again for a week in May (the &th to the 14th). It should be easy to schedule around that, but if not, there is a replacement bus service to bridge the gap.
https://tickets.rhb.ch/en/pages/bernina-express
The annual Glacier Express closure in in October to early December; in April and May it will be running on the regular schedule. However, cannot get reservations until 93 days ahead of your travel date. And you should get them as soon as they open up, so make that date on your calendar as soon as your travel dates are firm. You can wait to buy the actual tickets until later, as if you get a Swiss Travel Pass you won’t need a ticket, just the reservation. If you decide on Half Fare Cards, then you will buy a ticket. Or if you get neither pass you can still save money with a Saver Day Pass (which can be explained later if you are interested).
https://glacierexpress.ch/en
As noted above, the Jubilee year will make Rome and the Vatican particularly crowded in April, especially around Easter. If you wish to start your trip in Rome, I suggest you plan to leave Rome and head north to Florence, etc. a few days before Palm Sunday.
With both the Bernina Express and the Glacier Express on your wish list, the logical order of travel, should you wish to start in Rome, would be Rome—Florence—Venice—Milan—Varenna on Lake Como (or Tirano, where you pick up the Bernina Express. That’s Italy. Then for Switzerland, Tirano—St. Moritz (most forum members advise staying in the more charming nearby village of Pontresina instead)—-(Glacier Express) Zermatt—-Berner Oberland (might be hard to find lodging in Gimmelwald in April but nearby Wengen, on the other side of the valley, should offer something). From here to take the train to Zurich, spend the night there, then the direct train to Salzburg. Fly out of Munich to save backtracking.
Zermatt will be quiet but not “shut down”. It is a village and people live there. Plus there is skiing on the glacier year-round. Most lifts close but the the lifts to Matterhorn Paradise are open. And somewhere I saw that the link to Cervinia ran until May 5 in 2024, so there is hope for that one too.
I would strongly urge you to make advance reservations for hotel everywhere. Essential in Italy that time of year, and advisable in Switzerland as well. You are going to be tied to certain dates for the Glacier Epxress anyway, so have no flexibility possible there.