Each time you log out or pick up a new weapon, the M4A1 reverts to full auto. There's no visual or aural indicator of the fire selector switch's position other than letting fly with a shot (or five).
Inspecting the weapon shows the switch on full auto permanently, regardless of what it's actually set to.