If the second hand diff works, it shouldn't need rebuilding. Open diffs are very simple things with few moving parts. Just a change of oil should be fine. As far as repairing your broken one, the cost depends on what needs to be replaced, and, of course, whether replacement parts are available. Usually, a damaged open diff is scrap metal.