Mass shooters, not counting gang violence, are defined as public shootings with 4+ deaths.
The Violence Project found that of 172 mass public shooters from 1966-2019, 97.7% were male and 52.3% were white https://nij.ojp.gov/topics/articles/public-mass-shootings-database-amasses-details-half-century-us-mass-shootings
NPR reports that 98% of mass shooters are male, with white men disproportionately responsible for mass shootings more than any other group. https://www.npr.org/2021/03/27/981803154/why-nearly-all-mass-shooters-are-men
According to Wikipedia citing multiple studies, "Public mass shootings of persons unrelated to the shooter, and for a reason not connected with a previous crime (the rarest but most publicized) are committed by men whose racial distribution closely matches that of the nation as a whole." https://en.wikipedia.org/wiki/Mass_shootings_in_the_United_States
But when you look at who's actually pulling the trigger in these planned public attacks... school shootings, workplace shootings, church shootings—it's overwhelmingly cisgender men, mostly white.
Gang violence is a different category with different demographics and different solutions... those are typically conflicts between people who know each other.
I'm talking about the people who plan to kill random strangers in public places. Look at who actually attempts assassinations. Trump's trying to ban 2% of the population, but the patterns show who's really doing it.