I think this all related to fine metal dust shorting out the leadframe which is essentially the wiring for the valvebody and includes the range sensor and I believe the output shaft speed sensor on the 6R80 transmission which a Ford licensed ZF design. Ford knew there were issues with fine metal contamination and there's two magnets in the transmission pan of the '15-'17 F150. The earlier ones also have this issue with only one magnet, and I believe there's been recalls and investigations on these.
I have a '15 and a'16 F150. The '15 was a no crank because of dust shorting the range sensor at about 150,000 miles. The '16 has 234,000 miles and I changed the $250 leadframe proactively, because I know there's issues, and the truck lives 1100 miles from my home. The factory service manual recommends a 150,000 service interval. The Mercon LV in these comes out looking like motor oil with those miles. Both of my trucks have had TC shudder issues which is also common. If you have a 6R80 equipped Ford with over 100,000 miles, I'd recommend getting a transmission pan with a drain plug change the fluid three times in 10,000 miles and then every 30,000-40,000 miles after that. It's literally a 15 minute job with the pan plug and a bucket pump. A drain and fill is just over 7 quarts of the 12-13 quart capacity. It's actually a really good transmission.