Sorry to mention but RAM cages are non replaceable. They are integrated to the logic board. You got to replace the entire Logic Board if the RAM cage got broken and became non-functional. It's way expensive. If, at least, one of the memory bank is functional, keep using it maxing out the memory on it, would be my suggestion.
If this answer was helpful please remember to return and mark it Accepted. Thanks.