@redballoon,
redballoon wrote:Would planets and stars still form with only electromagnetic and nuclear forces?
No they wouldn't. If gravity didn't exist and all the other fundamental forces did, the strong force would have still glued together the various fundamental particles into protons, neutrons, and electrons; the electro-magnetical force would still have glued the electrons and protons into hydrogen; neutrons would still decay into protons and electrons, forming the material for more hydrogen.
But then it would stop. Without gravity, the hydrogen cloud would never have imploded into itself, forming stars. Consequently, no place in the universe would have reached the heats and pressures to start a fission process. That means no chemical elements other than hydrogen, no raw material to make planets of, and of course, no planets.