Boris Johnson, the front-runner in the race to succeed Theresa May as British prime minister, has agreed to take part in a televised debate with other contenders on Tuesday, the BBC said.