If Massachusetts is your domicile and you are filing state income taxes as a Massachusetts resident, all of your income, wherever earned will be taxed.
The State of New Jersey will expect you to file as a non-resident and pay taxes on the internship income that you earned there.
Massachusetts will allow you a credit for the taxes paid to New Jersey.