Grandparents play a major role in the lives of their grandchildren, sometimes to the extent that they become surrogate parents. And while a child’s parents are generally presumed to have custodial rights before anyone else, it’s not always in the best interests of the child. There are cases in which grandparents can petition the Massachusetts…