A potentiometer (or "pot" for short) is a variable resistor not a switch. They come in many sizes, varieties, and values. Tiny ones are called "trimpots". Bob Roberts sells lots of these. You need to know the value and "footprint" of the one you need.