If the 404 link has an equivalent on site, I'd update the link to point at the new equivalent. Even if the page isn't ranking, there's potential for a visitor to get to the page, so why not send them to proper content if you have it.
There's also a Moz Blog post regarding 404 pages: https://moz.com/blog/are-404-pages-always-bad-for-seo