Using a Programmable Switch w/ 3.3V Logic Level to connect capacitor load with varying input
For something like this, I would typically not use a programmable swich and just use a simple high side FET switch. On high side switches where the the power rail is significantly higher than the switching logic rail, you will need a pullup and an extra transistor to handle the switching function. The reason is because the logic level at the gate won't be high enough to cut off current to the high side FET and it will always be at least slightly on.
Here's a typical configuration although you can replace the BJT with a FET as well.