I need to calculate the amount of grams of Na-benzoate in a Na-benzoate buffer (water based) with a pH = 4.2 at 25'C?

Use the Henderson-Hasselbalch equation.

pH = pKa + log [(base)/(acid)]
(base) = concn of the salt.
(acid) = concn benzoic acid.