A 4 pole transfer switch is required if your generator will be considered a "separately-derived system". This article should be helpful.