Not 100% correct.
The Dalton gang met its demise in Coffeyville, Kansas, in 1892.
The James-Youger gang got shot up in Northfield Minnesota, in 1876.
The two gangs were not even really contemporaries.
But that DOES make two examples of citizens going in to action to halt bank robbers.
You are right I was thinking Jesse and Frank James ran with the Dalton gang.