Using ubuntu-drivers, the available commands are described below:
usage: ubuntu-drivers [-h] [--package-list PATH] <command>
List/install driver packages for Ubuntu.
positional arguments:
<command> See below
optional arguments:
-h, --help show this help message and exit
--package-list PATH Create file with list of installed packages (in
autoinstall mode)
Available commands:
debug: Print all available information and debug data about drivers.
autoinstall: Install drivers that are appropriate for automatic installation.
devices: Show all devices which need drivers, and which packages apply to them.
list: Show all driver packages which apply to the current system.
Source
Thus you can get the list of package names with sudo ubuntu-drivers devices and then install the respective packages using apt-get.
After installing the one you want to use, you have to remove the one that you don't want to use. This will force Ubuntu to use the one you installed (thanks @Ads20000)