Davion English, 18, is accused of shooting at a man Thursday afternoon near Straight Arrow and Thunderbird roads, according to sheriff's reports. The intended target was not struck.
The victim called Apple Valley deputies and reported English had shot at him. He also told authorities he and English had been involved in a fight previously, officials said.
Due to the proximity to Phoenix Academy, the school was locked down as deputies searched for English, according to a sheriff's news release.
Deputies went to a home in the 15000 block of Straight Arrow Road and were able to find English.
Investigators obtained a search warrant to search the home and reportedly discovered evidence linking English to the earlier shooting, according to the release.
English was booked into the Adelanto Detention Center in Adelanto on suspicion of assault with a deadly weapon.
Anyone with information on this case is asked to call the Apple Valley station at 760-240-7400.