I recommend taking a look at the code provided here to see if you can spot some significant difference between your code and their code (which was reported as working fine):
Another forum user posted a sketch that demonstrates switching back and forth between the two radios here:
That one is a bit older and a bit less relevant for your application because it also has code for using the "ArduinoIoTCloud" library (which was the specific application under discussion in that thread). So I would focus on the code at the first link, but thought I would mention this one as well in case it might be useful in the end.