And it happens during their normal operations. So they cant just go after bank robbers, but they can intervene if they see it happen while they are already out doing their normal stuff. Felonies only of course.
From 8 USC 1357
(5) to make arrests
(A) for any offense against the United States, if the offense is committed in the officer's or employee's presence, or
(B) for any felony cognizable under the laws of the United States, if the officer or employee has reasonable grounds to believe that the person to be arrested has committed or is committing such a felony,
if the officer or employee is performing duties relating to the enforcement of the immigration laws at the time of the arrest and if there is a likelihood of the person escaping before a warrant can be obtained for his arrest.
Under regulations prescribed by the Attorney General, an officer or employee of the Service may carry a firearm and may execute and serve any order, warrant, subpoena, summons, or other process issued under the authority of the United States.