Most likely the chassis are the same so yes, they probably will. What could be an issue though is CPU, GPU and peripheral port support. You'll need to make sure the replacement board does in fact have support for the CPU including it's model and socket type. There could be v5 models that use motherboards with either Intel OR AMD processors installed, with or without the necessary M.2 or PCI connection necessary for any non-integrated graphics adapter or storage controller used by HDDs and SSD's and that the board has the necessary sockets or connections onboard to plug cabling from USB and other components like display outputs or card readers.
Most likely, if the board supports the same processor family as your current model does, is...