Afari-Gyan worked as a lecturer and a professor in Political Science at the University of Ghana. He has also lectured in the United States and Nigeria. He was a member of the Committee of Experts that drafted the Fourth Republican Constitution for Ghana. In 1992, he was appointed Deputy Chairman of the Interim National Electoral Commission by the Provisional National Defence Council, which was ruling as a military junta, with the hope of returning the country to civilian rule. His job was to ensure that the November 1992 presidential election and the December 1992 parliamentary elections were free and fair. Jerry John Rawlings, the Chairman of the PNDC, who was also Head of State, stood and won the elections. With the coming into force of the Fourth Republican Constitution, a new Electoral Commission was set up and Afari-Gyan became its first substantive chairman. He has successfully supervised all the elections held under this constitution so far. He has successfully chaired the conduct of presidential and parliamentary elections in 1992, 1996, 2000, 2004 and 2008. In the last of these a number of unofficial institutions attempted to declare the results of these elections, with Afari-Gyan stating that these results could not be trusted. The 2004 general elections were disputed in court by the opposition National Democratic Congress. But the case was lost on technicalities. Again, the 2012 presidential election between President John Dramani Mahama and Nana Akufo-Addo ended up in an 8-month election petition trial at the Supreme Court. The opposition leader lost the case in a 5:4 split decision, which held that the President was validly elected. But, the trial, which was live on television, exposed some fundamental weaknesses in Ghana's electoral process, triggering calls and moves towards comprehensive electoral reforms before the 2016 general elections. The ruling has been heavily criticised by jurists. This is what one of the Supreme Court Justices, Justice Jones Dotse, had to say about Dr Afari Gyan: "My observation is that, Dr. Afari Gyan appeared to have concentrated his oversight responsibility at the top notch of the election administration, thereby abdicating his supervisory role at the grassroots or bottom, where most of the activities critical to the conduct of elections are performed. In this instance, he even appeared not to be conversant with some of the basic procedural steps and rules that are performed by his so-called temporary staff. So far as I am concerned, Dr. Afari Gyan has cut a very poor figure of himself, and the much acclaimed competent election administrator both nationally and internationally has evaporated into thin air once his portfolio has come under the close scrutiny of the Courts." In 1998, he became the Executive Secretary of the Association of African Election Authorities. He was also member of a committee of experts to advice Nigeria on elections. He retired from his position as Chairman of the Electoral Commission in June 2015.
He has also worked in a large number of other African countries, and has written several books. He was the "star witness" for the Electoral Commission of Ghana in an electoral petition which the New Patriotic Party filed after 2012 general elections.