If you want to join the next line to the current line, I would proably use the two separate commands
s/$/ /
j
(The default address for `j` is `.,.+1`)
Add an address to the `s` command if you want to reposition the current line first.
The `g` command is only really needed here if you want to be able to undo _both_ edits with `u`:
.g/$/ s// /\
j
or, if you want to use some more elaborate criteria for what lines to join with the next line,
g/RE/ s/$/ /\
j