Deoxit spray is very good:

http://store.caig.com/s.nl/sc.2/category.188/.f

the electrical contact cleaner from Radio Shack has not worked as well for me as Deoxit,
but it is faster/better than WD-40
and will not harm some plastics like PBlaster will.
PBlaster does seem to clean off aluminum corrosion especially well.

The traditional cleaner for
'green death' copper corrosion on electrical parts/leaking alkaline batteries
is a thick gooey paste of baking soda,
scrubbed with a soft brush.
It works well but you have to clean and displace the water after you get the green crud all gone.

Modern practice is to then use a thin coat of 'dielectric grease' on the newly cleaned electrical contacts. This is the same as 'spark plug boot grease'