Joshua Castellon has been charged with two counts of murder and two counts of attempted murder in connection with the shootings, police said.