Yes, that's exactly what it does. But beware, as it'll also revert your house back to the original shack you start out with, which shouldn't be a problem since we now have a cheat to change the house. :)
In order for your character to actually look like the opposite gender, though, you have to...