In this rare instance, I must agree with the resident CI liberal, poche. Ask a priest for advice before deciding what to do. Such matters are best dealt with on a case by case basis. The world is no longer a place where most people honor God By setting aside an entire day for Him. If it were, then there’d be no reason to question. In my estimation, the jobs the OP mentions do fall within those who are allowed, even whose duty it is to be on the job on Sunday. Medical supplies and food must be delivered, people need assistance, and security must be maintained.
Has anyone out there ever visited the ER or Urgent Care on Sunday? Ever had a car break down on the way to or from Mass? Ever needed to stand guard over property or summoned the police? Imagine if you got sick, went to the ER and found it closed because it was Sunday? Or you had to stay overnight stranded on the highway until Monday morning? Or while you were away at Mass, thieves break in and you come home to find your entire inventory and source of livelihood gone?
This doesn’t mean I support a Home Depot’s policy, just that some Sunday work is permissible, even a form of sacrifice for the Catholic who misses Mass in order to serve others in need.
(Most people do not NEED to shop at Home Depot on Sunday.)