Mass Air Flow sensor did all of that?
Yep.
It's the only thing that's changed that has any effect on the transmission. The hard shifts vanished immediately but these last couple of days is the first I've been out for decent length journeys and the difference in shifting as I've described is so noticeable - and transformative.
When I see constant questions from people asking if they should change to a carb because they are having trouble with the injection kit and the advice is invariably 'fix what you have', I'd add losing the MAF as another reason to do that.
I'm running an LPG system that doesn't even use the MAF for its operation but still reinstating it has transformed the truck.