FAUST: XX. The chemical structure and temperature profile of the IRAS 4A2 hot corino at 20–50 au