There's a lot of AppleScript goodies in System Events: "/System/Library/CoreServices/System Events.app"
There are some commands for working with Spaces preferences, but I don't see a "move to space" command or anything like that.
The only idea I have is to have AppleScript simulate the keystrokes you have set to switch spaces, with the "keystroke" command of System Events.