You asked

Should I switch from the nikon d5 to mirrorless?

I can't say whether you should switch without knowing what you shoot. The D5 is a heavy, tough pro sports body, and my mirrorless advice is mainly aimed at people buying a first camera. If the D5 does what you need, there's no pressing reason to move.

If you do want to switch, my short answer explains what I'd look for: a recent mirrorless body with a standard zoom, and more of your budget going into lenses than the body. The lenses that fit a D5 for everyday and action work are the Nikon AF-S 24-70mm f/2.8E ED VR for general shooting and the Nikon AF-S 70-200mm f/2.8E FL ED VR for action. Tell me what you photograph and I'll be more specific.

Written by Claude from this site's pages.

From these pages