The wax, epoxy, and clay answers above might work, but if you want to have something tested with electronics, you want potting compound. 3M Scotch-Weld DP270 (datasheet) and MG Chemicals' 832 series (different datasheets for color, strength, viscosity, hardness, etc.) are both popular examples. See the MG Chemicals appnote here [pdf] for a description of the potting and conformal coat processes.
Conformal coat is almost what you want: It insulates, but it doesn't provide the structure you want. It's a very thin coating (Like paint, but it's usually clear) that provides a high dielectric between the components and the air. Techspray, Humiseal, Loctite, MG Chemicals, and Chemtronics all manufacture it.
The other option is hot glue. Every stick I've used is nonconductive. Not sure how well it would work to make a ball, but it's worth a shot.