Your box as an HP 4400 workstation is probably an xw4400 workstation, if it is a workstation and not an HP desktop line.
Compatibility is determined by the Mfg as 4 slots, max 2GB per slot, DDR2-667 ECC Unbuffered. Dual-channel. Pairs must be matched in size and speed. 8GB max, limited only by...