Her crusade for stricter firearm laws began after her husband’s death in the 1993 LIRR shooting, shaping national policy for more than two decades.