My TR-004 (running Raid 5) died… I have purchased a brand new one. Is there a way to switch drives from old to new without reformatting or losing my data?

That would be great but my unit with all my data is dead… Can I just swap the drives to the new unit?
The highlighted screenshot says yes, just make sure the dip siwtches are in the correct position before you do so.
If you are in doubt, open a ticket and have QNAP walk you through.
And make sure you have backups in the future (no, a RAID is not a backup… q.e.d.)
Thanks..