The countries from the given list that share a border with Afghanistan are Tajikistan (3), Turkmenistan (4), and Uzbekistan (5).
Afghanistan shares its international borders with six countries: Pakistan to the east and south, Iran to the west, Turkmenistan, Uzbekistan, and Tajikistan to the north, and China to the northeast.
Azerbaijan (1) does not share a border with Afghanistan. It is located to the west of the Caspian Sea, separated from Afghanistan by Turkmenistan and Iran.
Kyrgyzstan (2) also does not share a border with Afghanistan. While both are Central Asian nations, Tajikistan lies between Afghanistan and Kyrgyzstan, preventing a direct land boundary.