Back to the engine topic, I think that a 6.2L from something up to 2020 would be fine. I'm not aware of any changes that would prevent it from working in a 2022 year.
Or, do as another guy here did and put a 6.6L on it from an HD pickup. With HP tuners, you should be able to copy the spark map from a 2500hd with that motor, overlay it in your current ecm, and turn off DFM in the fuel economy tab. You may have to have someone tweak it for a different gear ratio, or you may be just fine.
I've compared my 2008 6.2L to a 2014 6.2L, and a 2015 6.0L. The maps aren't WAY different to the point of unusable. Just some tweaks from 2008 to 2014. The 2015 6.0L map is similar, just less spark advance.
That being said, if I ever run into that problem in a 2017-2020 model year, I would highly consider the 6.6L swap. The exhaust on a 6.2L should be big enough to work appropriately, compared to a 5.3L. The loss of vacuum assist pump for the brakes would be a god send. And a motor tuned for torque on 87 would be nice. I think it would be a dynamite setup.