A document from Moncton provincial court shows that Jasper John Stam was charged with uttering a threat in Moncton between May 10 and 18.
Some media reports linked the Stam case with the investigation into the shooting deaths last week after an appearance he made in court Monday.
During his appearance, the judge reportedly ordered that Stam have no contact with the accused in shooting deaths of the three RCMP officers last Wednesday in Moncton at the request of a Crown attorney.
The public prosecution service in New Brunswick would not explain why the request was made.
Justin Bourque, 24, is charged with three counts of first-degree murder in the deaths of constables Fabrice Georges Gevaudan, Douglas James Larche and Dave Joseph Ross.
Bourque is also charged with two counts of attempted murder after two other officers were injured in the shootings last week Moncton.
The RCMP in New Brunswick used its Twitter account to clarify whether there is a link between the two cases, tweeting: "Jasper John Stam, charged with uttering threats to cause death to police between May 10-18, NOT CONNECTED to Moncton shooting investigation."
A Jasper Stam is 'friends' with Bourque on Facebook and supported the young man in a post dated Saturday, describing him as "one of the most respectable of my friends."
He also wrote: "he did not do anyone who deserved respect any wrong, not ever."
The Canadian Press has not confirmed that the Jasper Stam in custody made the posts to Facebook.Suggest a correction