I would not think of rewiring a switch that I did not understand, then leave town for 3 months.

Perhaps it is time to turn off the breaker to that circuit before you leave town?

As someone else mentioned, taking pictures before disassembly is your friend.