Man accused of impersonating police officer after car accident