electric shock from brass light switches
If you got shocked twice in a row without moving, that doesn't sound like static electricity. But if you mean you touched them both together and got shocked, or you came back later and got shocked again, that could be static electricity. But based on the circumstances (dry winter air, doing laundry) it seems much more likely it was static electricity.

Frankly, unless your hands were dripping wet or you recently changed the wiring, I would be pretty surprised if you got shocked by a light switch. If you want to check, try turning the lights on and off with something nonmetallic, like a wooden spoon. If the lights turn on and off normally, I think it's unlikely there's an electrical issue (though not impossible). The best way to tell whether the switch itself is electrified is with a multimeter (about $20 for a cheap one at a big box store).