How to finish wide gap in drywall at edge of ceiling
You could use a piece of inside corner bead and finish it like any other inside drywall corner:



A less aesthetic solution would be to cover the gap with a piece of wood trim and paint it to match the wall.