No. They were never meant to.
something went wrong and they ended up leaving the solar system.
This isn't quite right, because nothing went wrong. In fact, everything seemed to go right.
The Voyager probes were originally only intended to visit Jupiter and Saturn; even with the chance planetary alignment of the giant planets, it was thought that a spacecraft that could reach Uranus and Neptune with instruments intact would be prohibitively expensive. And so the two spacecraft were designed to just visit the inner two gas giants.
Voyager 1 was intended to visit Titan and then leave the plane of the Solar System; Voyager 2 could have done so via a modification to its orbit, had Voyager 1's maneuver failed. However, the probe successfully made it to that moon, and Voyager 2 remained in a path that would take it to Uranus. The missions had only been designed to last until this point. After that, there was no detailed plan for using the spacecraft; they would simply drift on.
However, it was realized that Voyager 2 might be able to make it to Uranus while still operating, and so NASA extended the mission. The trip to Uranus was successful, and so the mission was extended again, this time sending Voyager 2 to Neptune. Now that that has been successfully accomplished, the two probes are in the middle of the Voyager Interstellar Mission. They're taking data about the outer reaches of the Solar System (and beyond!).
The spacecraft have almost no fuel and power left, only enough to last until 2020. Most of their maneuvering happened via gravity assists; these slingshots did not use fuel, and instead used the gravity of the giant planets. The only conceivable way for the Voyagers to significantly change their trajectory now would be to precisely encounter another massive object under just the right circumstances. That will not be happening.