Ex-University of Miami star and former Buffalo Bills receiver Roscoe Parrish was arrested Monday after allegedly threatening to kill somebody ... TMZ Sports has learned.

According to jail records ... the 37-year-old was booked into Broward County Jail in Florida on felony charges of aggravated stalking-domestic violence and intimidation.

Unclear the details of his arrest ... we're working on it -- but jail records say Parrish made "written threats to kill."

Parrish was due in court Tuesday morning to face the charges -- jail records show $50,000 as the bail amount next to each charge.