A man has been charged with murder after the "sudden death" of a father-of-three in South Wales.