How can I customize the default gear icon on a custom tab set?
For folks looking for a no-coding solution to this, you can use the Contact Layout Editor extension to change icons.  After installing the extension, go to Administer menu » Customize Data and Screens » Contact Summary Layouts.  You can click on the icon on a tab (see screenshot below) and it will bring up a menu of FontAwesome icons to choose from.