Responder with a 5 card major will show it via a transfer sequence.
3♦ /♥ ..........asking for transfer to ♥/♠
Responder with 5 Spades and 4 Hearts
Bids 3♠ over 2NT. This specifically shows a holding of 5 Spades and 4 Hearts
Responder with 5 Spades and 5 hearts
bids 3♥ over 2NT, and then bids 4 ♥ over the forced 3♠
Responder with 5 Hearts and 4 Spades
bids 3♦ asking for transfer to 3 ♥, and then bids 3 ♠ over the forced 3♥ response.
These last 2 sequences shows the difference with holdings of 5/4 and 5/5 in the majors, and avoids the danger of playing 4♥ on a 4/2 fit