Since the sphere is non-conducting charge will be distributed throughout the volume of the sphere.
When r is the volume charge density, then q=34πR2ρ
The electric field intensity due to a uniformly charged sphere at an external point is the same as if the entire charge on it were concentrated at the centre of the sphere E=4πε01r2q (r>R) ∴E=4πε01×34r2πR3ρ =ε0ρ⋅3r2R3 ( for r>R )
If the point P less just on the surface of the sphere then r=R
then E=4πε01R2q =ε0ρ⋅3R