If it appears upon such recount that an error has been made sufficient to change the result of such election, such judge in case of candidates shall issue an order to revoke the certificate of election already issued to any person and shall issue an order directing the chairman and clerk of the county board of canvassers to issue in its place another certificate in favor of the person who shall be found to have received a plurality of the votes cast at the election, which certificate shall supersede all others and entitle the holder thereof to the same rights and privileges as if such certificate had been originally issued by the canvassing board. In the event the person to whom the certificate of election has already issued shall so request, such judge shall order the recount to proceed in all districts in which such person was a candidate for election and shall withhold the issuance of any such new certificate until it shall finally be determined who has received a plurality of the votes cast at such election. If during the further recount requested by the person to whom the certificate of election has already issued, such person gains sufficient votes to give him more votes than the contestant, the judge conducting the recount may then order that the recount shall not proceed unless the contestant shall deposit such further sum of money as the judge shall require not exceeding twenty-five dollars ($25.00) per district.
In case of a tie vote as a result of a recount the judge conducting the recount shall issue an order revoking the certificate originally issued by the board of canvassers.
N.J.S. § 19:28-4