You have at least two choices:
Use the Date thing to turn on at 7:00 pm, then run a 4 hour timer, then turn off
Use two Date things as WHENs with the same ONLY IF variable (eg. Mode = Home). Use one Data/Mode combo to turn on at 7:00 pm, and the second Date/Mode combo to turn off at 11:00 pm.