- Switches just need two wires: signal (white) to P4_4 & ground (black) to ground. The power wire (red) is unused.
- Pots use all three wires: signal, ground, & power (note: full range of pot will be read by your code as 0 to 3.3)
If your switch from last year needed power, it must have had a light on it or something similar, so that might require the power (red) be wired to one of the power pins.
BUT, last year the pins supplied 5v and this year they are only 3.3v, so check the specs on your switch if you can. That resistor might need to be changed. Does the switch have a make & model # on it?