Don't drive your car when it's broken, dummy.I did replace it and it works good now.
I'm saying if it gets whacked out readings from that sensor and the usual adjustments don't remedy it right away it should trip to a default that'll work instead of crapping out in front of an 18-wheeler. Rpm and throttle position can do that, just trip to a default air flow based on those readings that fixed at some X barometric pressure that's good enough for now. Can't be that difficult to program that in, we can put a man on the moon after all.
Could even set the default as an average over history. Would work even better as long as it fucked up at some elevation similar to where you spend most your time. Can still light up the check engine light and fix it right after you get home in one piece or have your mechanic diagnose it, etc.