You can't switch modes from within a PS/JS script. PS has to be restarted.
However, it would be possible to write a script for Bridge that shuts down PS and restarts either the 32 or 64 bit version. You could then call the script from PS if you needed.
Thanks for the information.