That’s not possible. A setup doesn’t have the concept of “ending”, so there’s no way to know when to switch.
Additionally switching to a setup captures all the resources required, sends a sync command to the device which then downloads all required content before it switches to that new content. It’s not possible to have two setups preloaded somehow. Switching always first transfers any missing assets/code/whatever to the device before activating. So even is the service magically knew when to switch, it could happen that there’s still content missing for the switch-to setup.