From Gauss' Law,
the electric field entering the Earth's atmosphere is E. The flux of this field is,
∫E.ds = E×4πR2
This should be equal to the charge enclosed inside the Earth divided by ϵ
Hence,
E×4πR2 = qϵ
Hence, putting back the value of 3 knowns, the value of q=−680×103C