We propose the experimental realization of (3+1) relativistic Dirac fermions using ultracold atoms in a rotating optical lattice or, alternatively, in a synthetic magnetic field. This approach has the advantage to give mass to the Dirac fermions by coupling the ultracold atoms to a Bragg pulse. A dimensional crossover from (3+1) to (2+1) Dirac fermions can be obtained by varying the anisotropy of the lattice. We also discuss under which conditions the interatomic potentials give rise to relativistically invariant interactions among the Dirac fermions.