Judan has five sons, of whom Er and Onan die prematurely. The names of the other three are Shelah. Pharez, and Zarah (spelt correctly Zerah in Numbers 26:20; 1 Chronicles 2:4). So also the right spelling is Pherez, and not Pharez. In 1 Chronicles 4:1 Judah has five sons: Pharez, Hezron, Carini, Hur, and Shobal, and Shelah is also mentioned there in Genesis 46:21, but see Note there.
Related Commentaries of Genesis 46:12
Genesis 46:12
12 And the sons of Judah; Er, and Onan, and Shelah, and Pharez, and Zerah: but Er and Onan died in the land of Canaan. And the sons of Pharez were Hezron and Hamul.