I usually go in mid-October to catch the beginning of the fall openings, February for the late fall/early spring stuff, and then mid-May for the later spring shows. Every time I've been to the city over the summer to see theater I've seen either repeats, Off Broadway shows, or stuff that wasn't a first choice but ended up being the best option for a cheap ticket. There are also always excellent 54 Below shows over the summer.