Unfortunately, you CANNOT switch from Gnomish engineering to Goblin Engineering or vice-versa. I'm not sure how you accidentally do that, because in order to get gnomish engineering, you talk to a gnome, whereas to get goblin engineering, you talk to a goblin. And, if you read the text at all, Overspark TELLS you that you can't switch.
Good luck and everything. :D
Good luck and everything. :D