In stoppage time, Niger restored their lead as Daniel Sosah rose above the Ghanaian defence to head in the decisive goal.