Step 1: Relation between atomic radius and unit cell length for bcc.
For a bcc lattice,
\[
4R = \sqrt{3} \, a
\]
where \(R\) is the atomic radius and \(a\) is the unit cell length.
For Solid A (bcc) with \(a_A = 4\) Å:
\[
R_A = \frac{\sqrt{3}}{4} \cdot 4 = \sqrt{3} \, \text{Å}
\]
Step 2: Relation between atomic radius and unit cell length for fcc.
For an fcc lattice,
\[
4R = \sqrt{2} \, a
\]
For Solid B (fcc) with \(a_B = 5\) Å:
\[
R_B = \frac{\sqrt{2}}{2} \cdot 5 = \frac{5\sqrt{2}}{2} \, \text{Å}
\]
Step 3: Ratio of radii \(R_A : R_B\).
\[
R_A : R_B = \sqrt{3} : \frac{5\sqrt{2}}{2} = \frac{2\sqrt{3}}{5\sqrt{2}} = \frac{2\sqrt{6}}{5}
\]
Step 4: Final conclusion.
Hence, the ratio of the radii of A and B is:
\[
\boxed{2\sqrt{6}:5}
\]