This should work for you.
I have shown two options for the DPDT switch;
top one uses a centre off switch to turn system off,
bottom one doesn't have centre off, it just switches from auto to manual.
I have added the diode across the solenoid coil to protect the thermostat and switch contacts...