Digital selector switch SP4T
You do not want a octal latch. Instead what you want is an Analogue MUX. 

A 4-1 Analogue MUX should do what you want. There are many options and factors to consider when selecting such a part. Some important ones are:


Is the analogue signal bipolar (i.e. swing above and below GND?
What is the peak voltage swing range of the analogue signal to be switched?
What power supply voltage is available to run this circuit?
What is the source impedance of the signal driver?
What is the load impedance the gets driven by the output of the analogue MUX / SWT.


You may want to look at the data sheet for a part called a CD4052 for a part that may work in your application.