The meeting between the Black Stars and the Swiss on 17 November at the Baniyas Stadium in Abu Dhabi will be the first time the countries have faced each other at the senior international level.
The Ghana Football Association says the game will serve as perfect preparation for coach Otto Addo ahead of their World Cup Group H opener against Portugal seven days later.
Four-time African champions Ghana will head to Abu Dhabi for a training camp ahead of World Cup matches against Portugal, South Korea (28 November) and Uruguay (2 December).
There is only a one-week window of preparation for the 32 countries competing in Qatar, with players joining up with their national teams from 13 November.
Ghana played two friendlies after last month’s qualifiers for the 2023 Africa Cup of Nations, but an injury-affected and Covid-hit side lost 4-1 to Japan and then beat Chile on penalties after a 0-0 draw.
Africa’s five representatives in Qatar are scheduled to play two more Nations Cup qualifiers during the September international window, restricting opportunities for further warm-up friendlies.
However, the 2023 Nations Cup finals in Ivory Coast have been delayed from June-July next year until early 2024, raising the possibility of qualifiers being rearranged.
Addo will be hoping that facing Switzerland will give dual-nationality players who have recently declared their availability an opportunity to blend with the squad ahead of the global event.
Ghana are seen as ideal African opponent by Switzerland, who play in Group G and start with a game against Cameroon on 24 November, before matches against five-time World Cup winners Brazil and Serbia.
Ghana played friendlies against Japan and Chile last month