A gang-related shooting in Lompoc early Sunday left two people injured at a residence on North J Street and now is being investigated as an attempted murder.