Drag it on top of the original photo until you’re happy with the location.
Export the new photo to a separate file and then open it in the same project as the scanned ID. Trim the photo so that it is a similar size to the original ID’s photo. Open the photo that you’re going to use to replace the current photo. Paste a new photo over the current ID’s image if you scanned someone else’s ID.