Using an analogue multiplexer to control a motor controller?
Assuming that you have two inputs: a digital "use the DAC" input, and the DAC itself, then you can use an analog switch to do this job.  Depending on your needs, a 74HC4053 may be ideal.

Like this.  Note that this is untested -- but it really ought to work: