Parminder Hunjan, 37, and Maninder Hunjan, 25, appeared at a Wolverhampton Magistrates' Court hearing on Friday.
The men were charged with two counts of attempted murder, possession of an offensive weapon and possession of an imitation firearm.
Maninder has also been charged with possession of a prohibited item.
The officers, both men, were slashed at New Square Shopping Centre in West Bromwich just before 11.30am on Wednesday.
The suspects were remanded in custody and will appear at Wolverhampton Crown Court on August 30.
A 31-year-old woman has been bailed with conditions pending further enquiries.