Moreover, "three body problem" is generally meant to mean the three bodies with comparable mass, so they influence each others trajectory. But in this case, Mass_sun >> Mass_planet >> Mass_probe, which greatly simplifies the problem.
Nonetheless, kudos to the guy to understand that a gravitational slingshot is possible, and proving it.