My door ajar light is constantly on even though all doors r shut why might this on 2003 Ford Explorer

I recently had rear window on lift gate fall off. Left hinge broke. I repaired myself by drilling out window plug and hinge and bolting. The window is askew to the right slightly. But closed. If I. We're to replace the hinge how do u gain access to the side of the hinge inside car:do u have to remove headliner.

Asked by for the 2003 Ford Explorer