Tunable boson-assisted finite-range interaction and engineering Majorana corner modes in optical lattices