More than $259 million was spent across the primary and general elections in the battle to succeed term-limited New Jersey Democratic Gov. Phil Murphy.