Man accused of using gasoline to set friend on fire