If you set the focal ratio long enough (eg: f11 or greater), you should be able to get both in focus.
I think there'll be a lot of entries with the conjunction

Nicely timed in May, with the deadline for entries in June.
Anyway if the planets are still round, being slightly out of focus may actually help because they'll be more visible.