There's no GNOME-supported way to do it, but there is this Nautilus extension allowing you to open any terminal (appropriately called nautilus-open-any-terminal).
Fun fact: the ability to open GNOME Terminal from Nautilus is also an extension.
The GNOME Project is a free and open source desktop and computing platform for open platforms like Linux that strives to be an easy and elegant way to use your computer. GNOME software is developed openly and ethically by both individual contributors and corporate partners, and is distributed under the GNU General Public License.
There's no GNOME-supported way to do it, but there is this Nautilus extension allowing you to open any terminal (appropriately called nautilus-open-any-terminal).
Fun fact: the ability to open GNOME Terminal from Nautilus is also an extension.
"Open in terminal" is a functionality provided by a plugin for Gnome Files that is installed with a package manager. As far as I am aware, there is one alternative plugin that provides "Open in Tilix". This means it is not easily user configurable.
Interesting. I've just looked this up 2 days ago. It seems there is no longer an option in Gnome that it will respect (since 43) and as far as I can see the open in terminal is a Nautilus (gnome-Files) extension and there are other plugins that provide the functionality to change that.