The 5-way 4-pole is a much larger switch with the addition of a second wafer. It will squeeze into the opening of a PBG TL cavity, but the cavity will need to be deepened and, in my experience, a bit taken out of the side wall (like an undercut) to ensure clearance when the switch is in position.
With so many lugs it's difficult to show how to wire the switch with an actual image, you can't see all the lugs from any one angle. So, I've modified a side view with the inner wafer sticking out so that all the lugs are visible and you can see, mostly, where the connections need to go.
The extra poles on the switch means that you can also do things like having different tone capacitors for different postions/pickups. So, in all of the following examples, one of the switch's poles is used to select between two different capacitors, cap 1 for single coils/split, cap 2 for humbucker combo's.
Bridge with split neck in position 2, and split neck in position 4 (red & green coil active when split):
Bridge parallel with split neck in position 2, and bridge in series with split neck in position 3 (black & white coil active when split):
Bridge parallel with split neck in position 2 (black & white coil active when split):
As I've only used 3 poles on this switch, one of which is for the caps, it's possible to replicate these options on the 5-way 2-pole just minus the cap switching.
There are other combo's possible, it just depends what you want.