A reputed Bloods gang member was charged Monday with threatening a federal agent and a cooperating witness at a fellow gang banger’s trial.

Kysheeq Randolph, 23, was arraigned in Brooklyn federal court on charges of witness retaliation and making a threat against a federal law enforcement officer for allegedly trying to disrupt the case against Devone “Moneybags” Jefferys, who allegedly posed as a cop in a 2015 home invasion and rape.

Randolph was in the courthouse hallway Thursday during Jefferys’ trial when he told US Bureau of Alcohol, Tobacco, Firearms and Explosives agent Shawn Edmonds “dead ass, dead ass” — which the agent took as a threat, prosecutors said.

But Edmonds wasn’t done.

He was back in the courtroom when Ronnell Peterkin took the witness stand to testify against Jefferys, and had “a direct line of sight” to Peterkin, ATF agent Tenitris McInnis said in an affidavit.

She said Randolph used his hand “to mimic the shape of a gun and point to his right temple.”

“A few minutes later, the defendant made a second gesture with his right hand. But this time he pointed the gun gesture to the bottom of his chin in an upward movement,” McInnis wrote.

“It is my belief that the defendant had a direct line of sight to the cooperating witness on the stand both times he made the gun gesture with his hand,” the agent wrote. “The defendant remained in the courtroom for the entirety of the witness’s testimony.”

Randolph is being held without bail.

Defense attorney Michael Sporn said he would make a request for bail down the line — but Randolph’s family members have been unwilling to sign off on a bond for him.

The jury in Jefferys’ home-invasion case is still deliberating.