haphazard (adj.)

"characterized by randomness, chance, accidental," 1670s, from noun meaning "a chance, accident" (1570s), from hap (n.) "chance, luck" + hazard (n.) "risk, danger, peril." Related: Haphazardly.