We're getting ready to wire one of those in to our 4Runner's tailgate to have an acxtive switch on the inside of the tailgate for the sleep-cabin use. If you can't figure it out, try like NLXTACy suggested, or when I get down to do mine, I'll post the wiring for you. *I might just look in the next day or two and edit the wiring in this post.
You've got the right idea. Seriously thats all I did to figure out all of my switches. Or course the goal is not to try anf figure out what ALL the wires do. You just need to figure out which wires to what you want. And in the switch some wires will act as double duty.
Inside the plug, the connectors are arrayed something like the number 7 playing card. On either side there is a stack of bayonet connectors. The top two on each side are "female" and the other 4 are male.
Between these rows of connectors, in the center is a single larger male bayonet connector, (and perhaps a large female slot above it as well)
P.S is this a family friendly forum ? (sorry for the imagery)