One possibility (and it is just a possibility, which I'm sure has got holes, etc).
To own a gun you need to apply and have a background check.
Dogs, self-evidently, can also cause deaths. Just like a gun.
So, to own a dog, requires a background check, and anyone with suitable offences (I don't...