After shooting his family members, Lorenzo Edwards sought to commit violence against random people, authorities said.