There is a road connecting Denmark and Sweden, which I count as a border.
I consider the UK to border five nations, not just Ireland. The other four are below:
France, because of the Chunnel; Spain, because of Gibraltar; Cyprus, because of Akrotiri and Dhekelia; and Turkey, because Dhekelia borders Northern Cyprus.
Northern Cyprus, also known as the Turkish Republic of Northern Cyprus