Solenoids are inductive. How are you handling the stored magnetic energy when that load is switched off? If you haven't got a suitable over / under voltage clamp or a flyback current path, then the overvoltage generated is going to kill most things.
These days for low voltage DC stuff (12 and 24vnominal) i pretty much never roll my own drivers as there is so much off-the-shelf ICs specifically targetted at automotive use, and they come with lots of useful features like overvoltage, overcurrent protection, current sensing feeback, logic level drive, over temperature limitation and fold back etc.
Normally i'd use a smart high side driver from infineon:
https://www.infineon.com/cms/en/product/power/smart-power-switches/They may at first glance look more costly than rolling something from a bare fet or transistor, but when you actually look at the protections and lack of necessary support services, i tend to find them very cost effective and more importantly, very robust
