Instead of using open you can just run the binary inside Slack.app directory:
SLACK_DEVELOPER_MENU=true /Applications/Slack.app/Contents/MacOS/Slack
SLACK_DEVELOPER_MENU=true /Applications/Slack.app/Contents/MacOS/Slack
Small nitpick, though. The dock is what runs the app switcher, not the Finder.