Or was I wrong in assuming that I didn’t
need to stop?
You were wrong. According to MA law only vehicles on a divided HIGHWAY opposite a stopped bus do not need to stop. A two lane road with a median still requires that vehicles stop for the bus when the flashers indicate it is picking up or discharging passengers.
Massachusetts General Laws Chapter 90, §14 (¶1) A motor vehicle or trackless trolley operator approaching a stopped school bus must stop and not proceed until the flashing red lights are deactivated, unless directed to the contrary by a police officer duly authorized to control the movement of traffic.
§14 (¶1) Traffic approaching from the opposite direction on a divided highway need not stop.
Also would it be worth it to go to court and explain that I wasn’t
aware that I needed to stop…I have never been to court but I’m assuming that an
ignorance of the law defense wont work very well.
The ignorance of the law rationale will NOT work at all. Apparently MA had a statewide campaign entitled "Operation Yellow Blitz" to make drivers aware of the stopping for school buses law. Not that this "I didn't know" excuse worked much in court anyway. What might work is arguing that the divided roadway you were on complies with the section of the law that motorists are not required to stop and you believed because it was a divided roadway you were not required to stop under that section of the law.
"That's just my opinion, then again I might be wrong." Dennis Miller