The State Treasurer shall, upon the warrant of the State Comptroller, annually pay to each qualifying municipality a share of amounts annually deposited in the "Municipal Purposes Tax Assistance Fund" and set aside for qualifying municipalities, in an amount derived pursuant to the following formula:
MS = (F / D P) x P / I
Where: MS is the share to be received by the qualifying municipality. (A per capita share of the amounts so deposited and set aside for qualifying municipalities, weighted by the municipal index of equalized valuation per capita of each qualifying municipality.)
F is the total amount so deposited and set aside for qualifying municipalities.
P is the population of each qualifying municipality.
D P is the sum of the populations of all qualifying municipalities.
I is the municipal index of equalized valuation per capita of the qualifying municipality.
The amount to be distributed pursuant to this section to any qualifying municipality shall not be greater than an amount equal to 25% of the municipal purposes levy of the municipality for the tax year immediately preceding the tax year in which a payment is made under this act.
If in any year the amount of funds so deposited and set aside for qualifying municipalities is other than the sum of the municipal shares for all qualifying municipalities, then each qualifying municipality shall receive from the amount so deposited and set aside an amount which is equal in proportion to its municipal share of the sum of the municipal shares of all qualifying municipalities.
N.J.S. § 54:1-49