A New Mexico man accused of murdering his ex-girlfriend was attacked by a member of the victim's family at a court hearing in Albuquerque.