El Hadji Ba scored on his debut as Sunderland beat Carlisle at the Stadium of Light to go through to the FA Cup fourth round where they will face either Peterborough or Kidderminster.