This rotary switch connects a common (COM) pin with one out of 9 pins. This is a through-hole component; thus, this sub-board can only be used on the edge of a pegboard, either immediately above or below the pegboard, unless you drill additional holes into the pegboard.
The knob has a 4 mm diameter and a D-shape.