Federal investigators are looking into potential ties between the person accused of firing shots at a Border Patrol agent in New Hampshire and a cult-like group linked to six homicides.