Except that they aren’t. The virtue of firearms is/was that 90% of them are simple weapons. Point and shoot.
A few take some training, and many can be improved by extensive training, but a child can kill someone with a gun.
Keep firearms simple weapons. You could stick with the damage dice in 5e, or steal them from d20 Modern, but increase the critical hit range. Keep hit point totals low, and/or implement d20 Modern’s massive damage threshold, which I believe was 15.
A single bullet can kill? Yes…and so can one sword strike. Landing a critical hit is just harder with the latter.
Personally, I don’t like realistic firearms rules because I’m not fond of disposable characters. YMMV.