Precipitation resonance for an idealized ITCZ model