Twelve days after being court-ordered not to contact his estranged girlfriend or possess a firearm, a 46-year-old man fatally shot his girlfriend in front of their children Saturday night, then attempted to kill himself at his mother's Federal Way apartment, prosecutors say.