Have visited both. I'd say it depends on what sort of holiday you want. NY is knackering, so much to see and the pace is more hectic.
I loved Boston, more relaxed loads of history if that floats your boat, easy to get round different vibe to New York.
have also stayed in Providence in Rhode Island which was funny.