$$Force = \dfrac{Work done}{Distance}$$
Substituting the given values, we get:
$$Force = \dfrac{1008 J}{28 m} = 36 N$$
Therefore, a force of 36 N is needed to move the brick while doing 1008 J of work.