Brief googling, the flashing 6 is probably because it has a shift inhibitor, it won't let you put it into drive while moving. So it locks you in neutral until the controller deems it safe to change shifter range.
It probably had a drop in power that rebooted the transmission computer. Could be faulty wiring, weak circuit breaker/fuse contacts, drop in communication between different computers, etc. The shift display going blank makes me think the power supply dropped out briefly, shutting off the transmission controller. If your truck is anything like my MR688 with AI350 and an Allison HD4560, then the transmission should have a "clean power" (independent power supply directly off one of the batteries) supply via positive and negative wires that has a fuse in the battery box on the positive wire. Maybe you'll find fault with this wire. CleanPower means a power source independent of any other circuits, it's directly off the battery so the transmission has full battery voltage without possibility of voltage fluctuations from sharing power supply.