When a gun is bought from a dealer is it registerd?

Generally speaking, no. A few states, 5 or 6, require gun registration, but in most of the U.S. there is no registration. The 4473 form you fill out stays at the gun shop for 20 years, then after that, the gun shop can shred and dispose of the forms, but that isn't the same thing as having to register the gun.