Put this into your Emacs init file:
(add-to-list 'auto-mode-alist '("\\.bashrc_custom\\'" . sh-mode))
Note possibly directory local variables are not questioned here, it's ruled by a list reading strings resp. regular expressions for matching file-names.