Switch size is not important but the current (amperage) handling capability is.
Most of the high current draw accessories like door locks and Windows use relays to control the current, the switch is just a low amperage higher quality switch to control the relay.
The relay draws approximately 250 to 1000 mA not much, so just about any switch will do.
See if you can find the relay current (amperage) requirements, then you can be sure of the switch you are using. There will be two current ratings on the relay, one is the through current, usually around 20 or 30 amps, this is the load that attaches to the accessory, and then there is the coil current, that is the one you need to know for the switch.
Good Luck, ask questions if you have any problems.
This site has some really good electrical people on it and I am sure they will jump in once there is some posting going on.
4x4, 5sp, Std Cab, Stepside, E4 Red
4” Lift - Coil-Overs, 6” SkyJacker Leafs - No Blocks (Mistake)
31 Spline FX4 Rear Axle, 4.56s and OX Locker, Hurst Shifter w/Optional Stick and "Made by Grev" alignment adapter