Radioshack failed by giving up its original niche and trying to do what bigger, better-funded competitors were doing, badly. Maybe there wasn't a sufficient market for an electronic components retail store, but there certainly wasn't a sufficient market for a mini Best Buy with even worse prices.
There might well be a market for a much smaller number of stores with stuff for people who make things. Germany's Conrad Electronics appears to do well with that, though their stores are larger and also include a lot of ordinary consumer stuff.