CARACAS, Venezuela—What appeared to be a carefully calibrated policy to oust Venezuelan President Nicolás Maduro was actually a big gamble by a small group of opposition leaders acting on a hastily assembled plan.

The strategy marked a coup of sorts: this one within the country’s notoriously fractious opposition, which had been locked in debate over whether to negotiate with Mr. Maduro or take more direct action.

When...