ΔE 19.2, loose: different enough that you should pick on purpose. Sun Yellow is a little darker, warmer than RLM 04.
Not as a straight swap; see the closer alternatives below. Loose match (ΔE 19). Sun Yellow is a little darker, warmer than RLM 04.
The same difference applies the other way round: RLM 04 is a little lighter, cooler.
ΔE is the colour difference between our two swatch estimates: under about 6 is close, over about 15 is loose. Real paints also differ in finish, coverage and how they thin, so test before you commit.
See RLM 04 on the colour wheel See Sun Yellow on the colour wheel
All matches: RLM 04 equivalents · Sun Yellow equivalents