Two women were allegedly assaulted with an electrical stunning device during the incident at the Original Factory Shop on Monday.
James Stewart Irvine, 53, faces three counts of assault and robbery, and possession of a prohibited weapon.
Irvine, from Newtown St Boswells, appeared in private at Jedburgh Sheriff Court and made no plea.
He was remanded in custody by Sheriff Peter Paterson and is expected to appear at Selkirk Sheriff Court on 15 October.
A 36-year-old man has also been arrested and charged in connection with the same incident.
He is expected to appear in court at a later date.
Police Scotland said inquiries to trace a third man in connection with the incident are ongoing.
Ch Insp Andy McLean said: "Extensive inquiries were conducted by officers in an effort to trace the suspects as quickly as possible following what was a shocking and distressing incident for those involved.
"Thankfully, incidents like this are rare in the Borders and I want to thank the public for their continued support during our investigation."
A man has appeared in court in connection with a robbery at a shop in Kelso.