How to prevent short circuit between output pins
The CBT3257 is a 2:1 multiplexer.
Connect one of the input signals to the Computer and the other to the MCU rather than as you have shown. Even if the software does not function correctly you can never have two outputs shorted together.