Integrating on-off-on-off switch with Raspberry Pi GPIO pins
Yes, that's exactly right, assuming you accurately described the switch. Simply tie the left and right pins together, no resistor needed.

Don't forget the pull up resistor in your schematic. From 3.3V to 10K ohm resistor to the gpio pin.