Did you mean Na2HPO4 ?
(I cannot find a reference to a compound Na4HPO4 )
Na2HPO4 is usually called disodium phosphate.
Other names are sodium hydrogen phosphate. Phosphates are notorious for haveng multiple names.
It is a salt containing the HPO42- ion. There is a "picture odf the structure in wikipedia see disodium phosphate.
NaH2PO4 is the chemical formula for the compound Sodium Phosphate.
The IUPAC for this compound is sodium di hydrogen phosphate.
Although chemists will know that Sodium phosphate exist in two main forms in solution. The one you have asked for is know as the Monobasic form however there is also a dibasic form in which the molecule sacrifices one hydrogen atom and gains a sodium atom.
In terms of buffers, this is a common lab one. It is used because it is a relatively weak acid in that it doesn't fully ionise. The monobasic molecule of which you asked will decrease the pH of a solution and make it more acidic. Where as the dibasic molecule will make the pH increase and hence create a more basic solution.
Actually, the sodium ion is monatomic, so it is sodium hydrogen phosphate.
Disodium phosphate
Sodium dihydrogen phosphate
disodium phosphonate
Sodium Phosphate
sodium phosphate dibasic dihydrate FW 178
disodium hydrogen phosphite