It's not that hard. Some isotopes have very long half-lives, and it doesn't take much to power its equipment. Picking up the signal isn't hard either, you just have to point a big enough antenna in the right spot and listen hard enough.
Voyager doesn't even have to track Earth. It tracks the sun because it's a much easier target. The spread on the transmission, especially at such great distances, means some of it will hit Earth.
The durability is pretty impressive too. Space is a harsh environment. A wayward micrometeorite or cosmic ray could hit the satellite and damage it or corrupt the software. Fortunately the folks at NASA are pretty good, and have been able to recover from a couple incidents of software problems.