Leeds were good value for the points as United saw defender Lisandro Martinez for pulling the hair of striker Dominic Calvert-Lewin.
Okafor told Sky Sports afterwards: "I think that I can score and help the team. For this I am very happy and proud.
"But to every player, every staff member that is with us, a big compliment because we were fighting to the end and we deserved the three points."
On his second goal, he added: "I think I hit well, I tried because if you don't try then the ball can't go in. I tried and scored my second goal so really happy about that.
"It brought us even more into the game and we knew we had to defend as a team. We did well so really, really excited and happy."
Okafor also had praise for their defensive efforts as the hosts chased an equaliser.
He said, "We knew their goal was not at the best moment. So we had another 20-30 minutes to survive. We had to defend and attack as a team. We take this and we keep looking forwards."
