KIEV—A judge who sentenced several antigovernment protesters to house arrest died of gunshot wounds on Wednesday, as Ukraine enters its third month of political crisis amid mounting violence.

Ukraine's Interior Ministry suggested government critics were behind the murder, while opposition leaders called the accusation part of a continuing smear campaign.

After...