You asked
How do I check a used nikon lens for fungus scratches and autofocus problems before paying?
Here is what the site says about that.
From Buying used: Checking a lens: - Shine a torch through it. Look for fungus (thread-like webs), haze (a milky fog), and separation. Fungus spreads and is costly to clean. A few specks of dust are normal and harmless. - Scratches on the front element matter less than they look; scratches on the rear element matter more. - Autofocus and zoom. They should be smooth and quiet, without grinding or sticking. - Sharpness across the frame. ...
From Buying used: Where to buy: - Specialist dealers with a returns window and a warranty are the safest: they test and grade what they sell. You pay a little more than buying privately. - Private sales and marketplaces are cheaper, but you carry the risk. Meet in person if you can, and test before paying. - Be wary of prices far below the market, sellers who won't let you test, and payment methods without buyer ...
Quoted from this site's pages.
Ask next
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.