QuickBooks Online should not send a downloaded file when switching to another company file. I'd appreciate if you can provide the type of file being sent during the process.
Let's perform some troubleshooting steps to isolate the issue. You can clear the browser cache to get a clean slate on your browser. The steps may differ depending on which browser you're currently using.
Please click the link for the steps on how to clear your browser's cache and temporary files: