What programmable switch to use on a 220 Volts AC load?
You should be looking for a relay to do the switching. More information has been written about that on the Internet than I can possibly rehash here -- Google for a tutorial on electrical relays.

You should expect to use a low voltage transistor such as a BSS138 or similar to allow the PIC to control a relay power supply voltage (ex. 12V) that will then control the relay which can then switch many amps at your target voltage.

Spend a little time investigating the switch transistor (N vs. P), pull down / pull up resistors and maybe some glue logic to make sure that your circuit stays in the states you want it too, as you need hardware to enforce state when your PIC is in reset (or blank!) 

E: OP has stated he's using a 5V PIC18F452; added content below in a comment. Still would recommend using the PIC I/O to fire a transistor that switches 12V into a relay as 12V relays are more common than 5V models and the current sourcing of this PIC is a bit anemic.