The aim of the study was to investigate the exploration and distribution of various chemical elements in soils and vegetables from gardens in the region of Probištip, North Macedonia. This region was exposed to heavy metals pollution from Pb–Zn mining and flotation tailings landfill near the town of Probištip for 70 years. A total of 38 samples of various crops and vegetable products from 19 gardens were analyzed. The analyzes were carried out by ICP-AES (Al, Ba, Ca, Cr, Cu, Fe, K, Li, Mg, Mn, Na, Ni, P, Pb, Sr, V, and Zn) and by ICP-MS (As, Cd, Co, Cr, and Pb). It was found that the content of some potentially toxic elements (As, Cd, Cu, Pb, and Zn) in the soil samples from the gardens, exceeded the target values. From these results, it is clear that the contamination of the soils in this area is due to mining activities and the distribution of flotation wastes from the nearby flotation dump. It was also found that the contaminated soils lead to elevated levels of these elements in some vegetables from the gardens, especially those near the Zletovska River and the flotation waste landfill, exceeding the nationally permissible food content.