A man was taken into federal custody Wednesday morning outside a busy Chelsea, Massachusetts, Market Basket location.