This seems to be true. Depending on how you define each.
Speaking very roughly, a random person is more likely to be hospitalized due to covid than to be even at a school while a gun is fired there.
CDC estimates that this week alone there will be 5100 covid hospitalizations, while Everytown (cited below by robby_w_g) tallied 107 incidents of gunfire at school for the entire year-to-date.
https://www.cdc.gov/cfa-modeling-and-forecasting/covid19-dat...