Magnitude of the forces acting on the body can determine whether the body will sink or float.
The body will sink if the weight of the body is greater than the upthrust acing on it whereas the body will float if the weight of the body is equivalent to or lesser than the upthrust acting on it.