The TPS does provide a direct input to the TOD ECU, so it's possible it could be causing the driveability issues you're experiencing, but I couldn't say whether a bad input signal from the TPS would explain the TOD being stuck in RWD. (Maybe it's a protective measure for the TOD clutch components that wouldn't fare well with intermittent and/or rapid ON/OFF engagements?)