There is no way to do that automatically. Nor is there anyone here who can do that for you since this is a user forum and not a conduit for either Adobe Technical Support or Adobe Customer Support.
Contact Adobe Customer Support by phone to assistance with this issue. It may require cancelling one subscription, your uninstallation of both pieces of software, and replacing the previous subscription to Photoshop with one for InDesign.
Prior to making that call, you might want to think out what your real needs are since such switching back and forth will not be a simple procedure and I suspect you might really need two or more of these applications.