I have an integrated intel GPU and an external Nvidia GPU and I'm using Optimus Manager to handle the situation you are facing. By just downloading the proper drivers for you GPU's as well as the optimus-manager package from aur you should be able to switch between GPU's after enabling the optimus-manager.service
For more information: https://github.com/Askannz/optimus-manager