You can have the Sql job in a stored Procedure in server B. Add server B as linked server to Server A, Execute the stored Procedure from server A:
EXEC [RemoteServer].DatabaseName.DatabaseOwner.StoredProcedureName
You can have the Sql job in a stored Procedure in server B. Add server B as linked server to Server A, Execute the stored Procedure from server A:
EXEC [RemoteServer].DatabaseName.DatabaseOwner.StoredProcedureName