Non-working technic system
I would suggest another solution. On the 9396 helicopter the blades can only rotate in one direction, because when a backwards rotation is input, a gear in the transmission line is lifted away from its neighbor automatically. In the instructions it's here (the yellow L-beam lifts up):



Where the gear is lifted away, place another gear for it to interact with there, which would be the transmission for your backwards drive.