Go to https://my.roku.com/account and scroll to the bottom. That will list all your linked devices. If the name is not obvious, you can double-check the serial number. Unlinking it will just unlink that one device. It won't affect the others.
To factory reset the 'old' Roku, and if they cannot do it through the menus, then this is procedure to do it manually.