^^That switch will work I think.
But you can't do it on a Ppickup, normally you will switch two pickups into series/parallel. I think it CAN be done with a P pickup, but you have to adjust the whole pickup for it. Because a P pickup is basically two pickups stacked together. If I'm right..
Or it has to be a humbucking P pickup like a Dimarzio model P
