Hi, thank you for contacting JustAnswer.com. My name is Russell. I will do my best to provide the right answer to your question.
I suggest that you try a Factory Settings Reset on your Nikon camera body, that is not driving the auto-focus functions, on the two lenses mentioned, properly or at all.
That might possibly cure the problem. Surely it isn't a problem with both lenses at once... which leaves the camera as the common thing between the two. And this is a first step to try.
Let me know if you need further advice... and let me know how it goes, if you already know how to do that reset. Thanks.